Fix reload crush bug

This commit is contained in:
TPLinux
2017-06-29 08:19:46 +00:00
committed by GitHub
parent 18c423dd5e
commit 57928f4c3c
+5 -3
View File
@@ -8,11 +8,12 @@
## Copyright: TravianX (c) 2010-2011. All rights reserved. ## ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## ## ## ##
################################################################################# #################################################################################
$building->loadBuilding();
?> ?>
<?php if($building->NewBuilding){ ?>
<table cellpadding="1" cellspacing="1" id="building_contract"> <table cellpadding="1" cellspacing="1" id="building_contract">
<thead><tr> <thead><tr>
<th colspan="4"><?php echo BUILDING_UPGRADING;?> <th colspan="4"><?php echo BUILDING_UPGRADING;?>
<?php <?php
if($session->gold >= 2) { if($session->gold >= 2) {
@@ -57,3 +58,4 @@
</tbody> </tbody>
</table> </table>
<script type="text/javascript">var bld=[{"stufe":1,"gid":"1","aid":"3"}]</script> <script type="text/javascript">var bld=[{"stufe":1,"gid":"1","aid":"3"}]</script>
<?php } ?>