mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-13 06:41:01 +00:00
fix attacking bug, somthing on buying goldclub, add merchant run 3 times to goldclub and now banned player cannot found new village
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
////////////// made by alq0rsan /////////////////////////
|
||||
if($session->access != BANNED){
|
||||
if($session->gold >= 100 && $session->sit == 0) {
|
||||
if($session->gold >= 100 && $session->sit == 0 && $session->goldclub == 0) {
|
||||
mysql_query("UPDATE ".TB_PREFIX."users set goldclub = 1, gold = gold - 100 where `username`='".$session->username."'");
|
||||
}
|
||||
header("Location: plus.php?id=3");
|
||||
|
||||
Reference in New Issue
Block a user