From a517a218b3e0672c489b8b9a7c64b218eb666d16 Mon Sep 17 00:00:00 2001 From: VBoss Date: Sat, 19 May 2012 04:19:21 +0300 Subject: [PATCH] this should fix problem with same attack power for 2 attack in 2sec and catapulting without catapults and other problems if something else still doesnt work just find array with that data a unset it! --- GameEngine/Automation.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 9d73ef96..4e321889 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -2092,7 +2092,25 @@ $crannyimg = "addNotice($from['owner'],$to['wref'],$ownally,3,''.addslashes($from['name']).' attacks '.addslashes($to['name']).'',$data_fail,$AttackArrivalTime); } } - + unset($Attacker); + unset($Defender); + unset($Enforce); + unset($unitssend_att); + unset($unitssend_def); + unset($battlepart); + unset($unitsdead_def); + unset($dead); + unset($steal); + unset($from); + unset($data); + unset($data2); + unset($to); + unset($artifact); + unset($artifactBig); + unset($canclaim); + unset($data_fail); + unset($owntribe); + unset($unitsdead_att); } if(file_exists("GameEngine/Prevention/sendunits.txt")) { @unlink("GameEngine/Prevention/sendunits.txt");