General Fixes

+Completely reworked the "removeBuilding" function, it's now more
generic (for future uses)
+Fixed a bug that bugged the master builder time when a building was
removed from the construction queue
+Fixed a bug that bugged building times when a building was removed from
the queue, with a master builder order queued
+Fixed a bug that didn't permit to save the server settings from the
+MH/Admin panel
+Fixed a bug that did save the WW spawn time in the WW building plan
spawn time and vice versa
+General improovements and bug fixing
This commit is contained in:
iopietro
2018-05-14 23:14:10 +02:00
parent f92e4d3bb8
commit b58b762b12
6 changed files with 179 additions and 172 deletions
+5 -5
View File
@@ -102,13 +102,13 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
<td width="140"><input type="text" name="natars_spawn_time" id="natars_spawn_time" value="260" size="3"></td>
</tr>
<tr>
<td><span class="f9 c6">WW building plan spawn (Days):</span></td>
<td width="140"><input type="text" name="natars_ww_spawn_time" id="natars_ww_spawn_time" value="260" size="3"></td>
<td><span class="f9 c6">WW spawn (Days):</span></td>
<td width="140"><input type="text" name="natars_ww_spawn_time" id="natars_ww_spawn_time" value="260" size="3"></td>
</tr>
<tr>
<td><span class="f9 c6">WW spawn (Days):</span></td>
<td width="140"><input type="text" name="natars_ww_building_plan_spawn_time" id="natars_ww_building_plan_spawn_time" value="260" size="3"></td>
</tr>
<td><span class="f9 c6">WW building plan spawn (Days):</span></td>
<td width="140"><input type="text" name="natars_ww_building_plan_spawn_time" id="natars_ww_building_plan_spawn_time" value="260" size="3"></td>
</tr>
<tr>
<td><span class="f9 c6">World size:</span></td>
<td>