mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-17 16:51:00 +00:00
Update credits on modifyResource - thank you brainiac
This commit is contained in:
@@ -1418,7 +1418,7 @@ class MYSQL_DB {
|
|||||||
return $dbarray['tag'];
|
return $dbarray['tag'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//////////////////// ADDED BY BRAINIAC - THANK YOU
|
||||||
function modifyResource($vid, $wood, $clay, $iron, $crop, $mode) {
|
function modifyResource($vid, $wood, $clay, $iron, $crop, $mode) {
|
||||||
$q="SELECT wood,clay,iron,crop,maxstore,maxcrop from " . TB_PREFIX . "vdata where wref = ".$vid."";
|
$q="SELECT wood,clay,iron,crop,maxstore,maxcrop from " . TB_PREFIX . "vdata where wref = ".$vid."";
|
||||||
$result = mysql_query($q, $this->connection);
|
$result = mysql_query($q, $this->connection);
|
||||||
|
|||||||
Reference in New Issue
Block a user