Fixed a building bug

+Fixed a bug that permitted to build two buildings or two resources
field concurrently, without a plus account, as a Roman
+Some clean-up
This commit is contained in:
iopietro
2018-05-01 19:05:17 +02:00
parent 0a9fe1125e
commit 44fc912616
4 changed files with 269 additions and 356 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
$bid = $village->resarray['f'.$id.'t'];
$bindicate = $building->canBuild($id,$bid);
$bindicate = $building->canBuild($id, $bid);
if($bindicate == 1) {
echo "<p><span class=\"none\">".MAX_LEVEL."</span></p>";
} else if($bindicate == 10) {