Fix map loader runtime (#10290)

* Fix map loader

* Fix 2

* ey
This commit is contained in:
unid15
2016-06-07 18:12:41 +02:00
committed by clusterfack
parent bc7fa76ef2
commit 27c61d88e4
2 changed files with 12 additions and 7 deletions

View File

@@ -1160,6 +1160,9 @@ var/list/admin_verbs_mod = list(
z_coord = input(usr, "Input the Z coordinate. If it's higher than [world.maxz], a new Z-level will be created (X = [x_coord], Y = [y_coord]): ", "Map element loading") as null|num
if(z_coord == null) return
x_coord = Clamp(x_coord, 1, world.maxx)
y_coord = Clamp(y_coord, 1, world.maxy)
if("Cancel")
return