Send GMCP Char.Vitals after each command
This commit is contained in:
parent
593bfd3028
commit
72b877c5d1
1 changed files with 2 additions and 0 deletions
|
|
@ -438,6 +438,8 @@ async def shell(
|
||||||
else:
|
else:
|
||||||
# Dispatch normal command
|
# Dispatch normal command
|
||||||
await mudlib.commands.dispatch(player, command)
|
await mudlib.commands.dispatch(player, command)
|
||||||
|
# Update GMCP vitals after command (prompt shows vitals, so sync GMCP)
|
||||||
|
send_char_vitals(player)
|
||||||
|
|
||||||
# Check if writer was closed by quit command
|
# Check if writer was closed by quit command
|
||||||
if _writer.is_closing():
|
if _writer.is_closing():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue