diff --git a/fight.php b/fight.php index 8543a15..b51f22b 100644 --- a/fight.php +++ b/fight.php @@ -3,6 +3,7 @@ function fight() { // One big long function that determines the outcome of the fight. global $userrow, $controlrow; + if ($userrow["currentaction"] != "Fighting") { display("Cheat attempt detected.

Get a life, loser.", "Error"); } $pagearray = array(); $playerisdead = 0; diff --git a/lib.php b/lib.php index 676095a..3ce4ef3 100644 --- a/lib.php +++ b/lib.php @@ -2,7 +2,7 @@ $starttime = getmicrotime(); $numqueries = 0; -$version = "1.1.6"; +$version = "1.1.7"; $build = ""; function opendb() { // Open database connection.