summaryrefslogtreecommitdiff
path: root/tools/editgame.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-17 12:25:02 +0100
committerTor Andersson <tor@ccxvii.net>2022-01-17 12:49:02 +0100
commitf1d3a4b36cd0b170333b274906de44e1b23461fb (patch)
tree8961ccf0b2a8ec7b30f4e34fd7c5566193e3bec3 /tools/editgame.sh
parent4cfbe0019331c8fb2d381606806e6bea253ca14a (diff)
downloadserver-f1d3a4b36cd0b170333b274906de44e1b23461fb.tar.gz
Fix tools.
Diffstat (limited to 'tools/editgame.sh')
-rw-r--r--tools/editgame.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editgame.sh b/tools/editgame.sh
index 7f21fcb..2638f45 100644
--- a/tools/editgame.sh
+++ b/tools/editgame.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if [ -n "$1" -a -n "$VISUAL" ]
then
- sqlite3 db "update games set state=edit(state) where game_id = $1"
+ sqlite3 db "update game_state set state=edit(state) where game_id = $1"
else
echo "usage: bash tools/editgame.sh GAME"
echo "note: \$VISUAL must be set to your preferred editor"