From f3ad6a9ee15eb2cb5b8e221d41e424c3efad5d4b Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 29 Nov 2015 07:58:04 +0100 Subject: [PATCH] history --- src/arenas/tictactoe/act.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arenas/tictactoe/act.php b/src/arenas/tictactoe/act.php index 9a72928..015765a 100644 --- a/src/arenas/tictactoe/act.php +++ b/src/arenas/tictactoe/act.php @@ -66,6 +66,7 @@ switch ($_POST['act']){ OR (($map['0-2']==$map['1-1'])&&($map['1-1']==$map['2-0'])&&($map['2-0']!=="")) ){ echo "

".$playerName." ".$playerCHAR." a gagné.

"; + save_battle('tictactoe',$bot1,$bot2,$playerPlayingNow); $end=true; break; } @@ -79,6 +80,7 @@ switch ($_POST['act']){ } if($full){ echo "

Match nul

"; + save_battle('tictactoe',$bot1,$bot2,0); $end=true; break; }