mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-25 14:06:12 +00:00
fix bug of culture points when found village
This commit is contained in:
@@ -473,7 +473,7 @@ class Units {
|
||||
if($session->access != BANNED){
|
||||
$mode = CP;
|
||||
$total = count($database->getProfileVillages($session->uid));
|
||||
$need_cps = ${'cp'.$mode}[$total];
|
||||
$need_cps = ${'cp'.$mode}[$total+1];
|
||||
$cps = $session->cp;
|
||||
$rallypoint = $database->getResourceLevel($village->wid);
|
||||
if($rallypoint['f39'] > 0){
|
||||
|
||||
Reference in New Issue
Block a user