summaryrefslogtreecommitdiff
path: root/tools/writegame.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-14 17:17:49 +0100
committerTor Andersson <tor@ccxvii.net>2021-11-20 13:14:24 +0100
commitd1318d147297161691f5048e1f2cb4e516159144 (patch)
treef8858e16eece0e4a1bf8deb29548c6421b54df03 /tools/writegame.sh
parentf02fb77b1cb34b4622f2c90597ff616d4de65fc5 (diff)
downloadserver-d1318d147297161691f5048e1f2cb4e516159144.tar.gz
Add 'hidden' column to titles for beta-testing games.
Diffstat (limited to 'tools/writegame.sh')
-rw-r--r--tools/writegame.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/writegame.sh b/tools/writegame.sh
index 82cff23..a6e673d 100644
--- a/tools/writegame.sh
+++ b/tools/writegame.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if [ -n "$1" -a -f "$2" ]
then
- sqlite3 db "update games set state=readfile('$2') where game_id = $1"
+ sqlite3 db "update game_state set state=readfile('$2') where game_id = $1"
else
echo "usage: bash tools/writegame.sh GAME state.json"
fi