diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-04-26 00:24:05 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-04-26 01:26:58 +0200 |
commit | 5a6f89fe9760ff2a688d29ac5ca3bb3f28c9216f (patch) | |
tree | 26ac26aa2099c4557ae1a023e061cdfb585b4056 /bin/rtt-undo | |
parent | 7bcfc5845b9bfee93586f6823a0dcd3c843d0471 (diff) | |
download | server-5a6f89fe9760ff2a688d29ac5ca3bb3f28c9216f.tar.gz |
Improve rtt-patch command line parsing.
Also patch starting from a snapshot if requested.
Diffstat (limited to 'bin/rtt-undo')
-rwxr-xr-x | bin/rtt-undo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rtt-undo b/bin/rtt-undo index 2f69eed..ae375f9 100755 --- a/bin/rtt-undo +++ b/bin/rtt-undo @@ -9,7 +9,7 @@ then echo Game has $COUNT actions. fi sqlite3 db "delete from game_replay where game_id=$1 and replay_id>=$COUNT" - ./bin/rtt-patch $1 '{"validate_actions":false}' + ./bin/rtt-patch $1 -no-validate else echo "usage: rtt-undo GAME" fi |