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: Only write record and save file if 15 seconds have passed.
[plomrogue]
/
src
/
server
/
init.c
diff --git
a/src/server/init.c
b/src/server/init.c
index 42ec699a921d067f237c7eb67c9bafaa78454463..49ba22a62732b0f5c818536cd77aac809420ace4 100644
(file)
--- a/
src/server/init.c
+++ b/
src/server/init.c
@@
-26,7
+26,7
@@
#include "things.h" /* Thing, ThingType, free_things(), add_things(),
* get_thing_id_action_id_by_name()
*/
#include "things.h" /* Thing, ThingType, free_things(), add_things(),
* get_thing_id_action_id_by_name()
*/
-#include "run.h" /* obey_msg(), io_loop() */
+#include "run.h" /* obey_msg(), io_loop()
, record()
*/
#include "world.h" /* global world */
#include "world.h" /* global world */
@@
-257,4
+257,5
@@
extern void run_game()
}
err_line_zero();
io_loop();
}
err_line_zero();
io_loop();
+ record(NULL, 1);
}
}