home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix replay mode overwriting save file on quit.
[plomrogue]
/
roguelike
diff --git
a/roguelike
b/roguelike
index a0be8cc77f2e27f15d4e98b28ff8f8a9b9f502fe..b00272187288eed4be40d1bb8df26872623ae831 100755
(executable)
--- a/
roguelike
+++ b/
roguelike
@@
-2,7
+2,10
@@
# 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
+sleep 0.5
if [ -e ./log ]
then
cat log
if [ -e ./log ]
then
cat log