Release some memory

This commit is contained in:
Pietro
2018-04-03 12:56:14 +02:00
committed by GitHub
parent 1108871e9e
commit fff86538fa
+3
View File
@@ -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'],