Merge pull request #281 from Shadowss/patch-39

Update credits on modifyResource - thank you brainiac
This commit is contained in:
yi12345
2013-08-14 02:12:16 -07:00
+1 -1
View File
@@ -1418,7 +1418,7 @@ class MYSQL_DB {
return $dbarray['tag'];
}
}
//////////////////// ADDED BY BRAINIAC - THANK YOU
function modifyResource($vid, $wood, $clay, $iron, $crop, $mode) {
$q="SELECT wood,clay,iron,crop,maxstore,maxcrop from " . TB_PREFIX . "vdata where wref = ".$vid."";
$result = mysql_query($q, $this->connection);