home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Fix bug in action_exists().
[plomrogue]
/
roguelike-client
diff --git
a/roguelike-client
b/roguelike-client
index 7bb862272caac1bce5949efef6eadb237d011c45..55fb9789d2a33585bc678b6e53eabf047566c7a5 100755
(executable)
--- a/
roguelike-client
+++ b/
roguelike-client
@@
-1,11
+1,15
@@
#!/usr/bin/python3
#!/usr/bin/python3
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
import curses
import os
import signal
import time
import curses
import os
import signal
import time
-
from client.config.world_data import world_data
from client.config.io import io
from client.config.commands import commands
from client.config.world_data import world_data
from client.config.io import io
from client.config.commands import commands
@@
-36,6
+40,7
@@
def read_worldstate():
read_worldstate.last_checked_mtime = mtime
read_anew = True
if read_anew:
read_worldstate.last_checked_mtime = mtime
read_anew = True
if read_anew:
+ # TODO: Hardcore order of necessary fields, ensure dependency order.
redraw_windows = True
world_data["turn"] = int(turn_string)
for entry in io["worldstate_read_order"]:
redraw_windows = True
world_data["turn"] = int(turn_string)
for entry in io["worldstate_read_order"]: