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: Speed-optimize AI algorithms.
[plomrogue]
/
client
/
commands.py
diff --git
a/client/commands.py
b/client/commands.py
index 159af5dcd6ec58ce901491aabbfabbf392b64361..c1d61419dd8edb997394ba1d837abe2ebea283b4 100644
(file)
--- a/
client/commands.py
+++ b/
client/commands.py
@@
-1,3
+1,8
@@
+# 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.
+
+
from client.config.world_data import world_data
from client.io import send
from client.query_mapcell import query_mapcell
from client.config.world_data import world_data
from client.io import send
from client.query_mapcell import query_mapcell
@@
-22,7
+27,7
@@
def command_sender(string, int_field=None):
int_string = ""
if int_field:
int_string = " " + str(world_data[int_field])
int_string = ""
if int_field:
int_string = " " + str(world_data[int_field])
- send(string + int_string)
+ send(string + int_string)
return command_send
return command_send