forked from townforge/townforge
python-rpc: add places and user textures to the daemon state checks
This commit is contained in:
parent
9ccd28dd4c
commit
4738dc4019
@ -111,4 +111,7 @@ def get_daemon_state(daemon):
|
||||
for i in range(num_cities):
|
||||
state['whispers_' + str(i)] = daemon.cc_get_whispers(i)
|
||||
state['far_fish'] = daemon.cc_get_far_fish_population()
|
||||
for i in range(num_cities):
|
||||
state['places_' + str(i)] = daemon.cc_get_places(i)
|
||||
state['user_textures'] = daemon.cc_get_user_textures(0, False)
|
||||
return state
|
||||
|
Loading…
Reference in New Issue
Block a user