mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-21 20:16:11 +00:00
update
This commit is contained in:
@@ -21,7 +21,7 @@ if (mysql_num_rows($MyGold)) {
|
||||
|
||||
if (mysql_num_rows($MyGold)) {
|
||||
|
||||
if($golds['b3'] == 0) {
|
||||
if($golds['b3'] < time()) {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set b3 = '".(time()+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysql_error());
|
||||
} else {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set b3 = '".($golds['b3']+PLUS_PRODUCTION)."' where `id`='".$session->uid."'") or die(mysql_error());
|
||||
|
||||
Reference in New Issue
Block a user