Fixed some bugs

Automation.php: 
Fixed a bug that could happened if two attacks hit two different targets (one with some traps and the other with 0 traps) at the same second.

Building.php: 
Fixed the possibility to build a residence and a palace with the waiting loop (the previous fix wasn't working and $tid was used as a $id and viceversa).
Fixed the possibility to build in the id reserved to walls (id 40).
This commit is contained in:
Pietro
2018-04-04 20:01:58 +02:00
committed by GitHub
parent 634675958e
commit f41be6dff7
2 changed files with 46 additions and 86 deletions
+2 -1
View File
@@ -3219,7 +3219,8 @@ class Automation {
,$troopsdead9
,$troopsdead10
,$troopsdead11
,$DefenderUnit);
,$DefenderUnit
,$info_trap);
#################################################