changes: flipplayer should be preserved on checkonly

This commit is contained in:
Zeno Rogue 2020-03-02 18:03:54 +01:00
parent 39703c1c15
commit 3cb729f6a3
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ bool pcmove::movepcto() {
bool b = (d >= 0) ? actual_move() : stay();
if(checkonly || !b) {
changes.rollback();
flipplayer = false;
if(!checkonly) flipplayer = false;
}
else if(changes.on) {
println(hlog, "error: not commited!");