mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-11 22:01:00 +00:00
Some important fixes PHP 8.1
Some important fixes PHP 8.1
This commit is contained in:
+2
-2
@@ -38,7 +38,7 @@ if($village->resarray['f'.$_GET['id'].'t'] == 24 and $village->currentcel == 0){
|
||||
$clay = 6650;
|
||||
$iron = 5940;
|
||||
$crop = 1340;
|
||||
$database->modifyResource($village->resarray['vref'],$wood,$clay,$iron,$crop,$mode);
|
||||
$database->modifyResource($village->resarray['vref'],$wood,$clay,$iron,$crop,0);
|
||||
$database->addCel($village->resarray['vref'],$endtime,$_GET['type']);
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@ if($village->resarray['f'.$_GET['id'].'t'] == 24 and $village->currentcel == 0){
|
||||
$clay= 33250;
|
||||
$iron= 32000;
|
||||
$crop= 6700;
|
||||
$database->modifyResource($village->resarray['vref'],$wood,$clay,$iron,$crop,$mode);
|
||||
$database->modifyResource($village->resarray['vref'],$wood,$clay,$iron,$crop,0);
|
||||
$database->addCel($village->resarray['vref'],$endtime,$_GET['type']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user