Skip to content

Commit

Permalink
"The game has moved on" is a notice not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
kestasjk committed Jul 23, 2021
1 parent 01ca7e3 commit 114457c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/orders/orderinterface.php
Expand Up @@ -134,7 +134,7 @@ public function load()

list($checkTurn, $checkPhase) = $DB->sql_row("SELECT turn, phase FROM wD_Games WHERE id=".$this->gameID);
if( $checkTurn != $this->turn || $checkPhase != $this->phase )
throw new Exception(l_t("The game has moved on, you can no longer alter these orders, please refresh."));
libHTML::notice(l_t("Please refresh"), l_t("The game has moved on, you can no longer alter these orders, please refresh."));

if( $this->maxOrderID == false ) $this->maxOrderID = $maxOrderID;
//elseif( $this->maxOrderID < $maxOrderID )
Expand Down

0 comments on commit 114457c

Please sign in to comment.