Update credits on modifyResource - thank you brainiac

This commit is contained in:
Shadowss
2013-08-14 09:04:41 +03:00
parent b6a1fa34f0
commit 934b342aab
+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);