mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Update Technology.php
This commit is contained in:
@@ -758,9 +758,10 @@ private function trainUnit($unit,$amt,$great=false) {
|
||||
$fail='1';
|
||||
}
|
||||
}
|
||||
if($fail==0){
|
||||
$database->deleteReinf($id);
|
||||
}
|
||||
if ($enforce['hero']>0) $fail='1';
|
||||
if($fail==0){
|
||||
$database->deleteReinf($id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user