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 determinism bug in thingproliferation.
[plomrogue]
/
roguelike
diff --git
a/roguelike
b/roguelike
index efb362c98ec526c18210bbddf90762ed8cd79008..b00272187288eed4be40d1bb8df26872623ae831 100755
(executable)
--- a/
roguelike
+++ b/
roguelike
@@
-2,5
+2,11
@@
# Wrapper to the script so that its suppressed server messages get read on exit.
./start_server_client_union.sh "$@"
# Wrapper to the script so that its suppressed server messages get read on exit.
./start_server_client_union.sh "$@"
+
+# For some reason, mere sync won't ensure a log is written out, so wait a while.
sync
sync
-cat log
+sleep 0.5
+if [ -e ./log ]
+then
+ cat log
+fi