From fff86538faa68ed2099e801479799c974ebf8acf Mon Sep 17 00:00:00 2001 From: Pietro Date: Tue, 3 Apr 2018 12:56:14 +0200 Subject: [PATCH] Release some memory --- GameEngine/Automation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 14582b58..29c07631 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -2061,6 +2061,9 @@ class Automation { $database->modifyHeroXp("experience",$defheroxp,$HeroID); } } + + // we don't need these two variables anymore + unset($AttackerHeroID, $DefendersHeroID); $database->modifyPoints( $toF['owner'],