mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 13:46:09 +00:00
fix hero in battle (should be 100%, tell me if you found bugs)
This commit is contained in:
@@ -73,7 +73,7 @@ class Units {
|
||||
if($post['x']!="" && $post['y']!=""){
|
||||
$oid = $database->getVilWref($post['x'],$post['y']);
|
||||
}else if($post['dname']!=""){
|
||||
$oid = $database->getVillageByName($post['dname']);
|
||||
$oid = $database->getVillageByName(stripslashes($post['dname']));
|
||||
}
|
||||
if($database->isVillageOases($oid) != 0){
|
||||
$too = $database->getOasisField($oid,"conqured");
|
||||
|
||||
Reference in New Issue
Block a user