Skip to content

Commit

Permalink
Update nanomapgen.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Dec 26, 2024
1 parent 4d9274e commit d7bf47c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/nano/nanomapgen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
set name = "Generate NanoUI Map"
set category = "Server"

var/chosen_z = input(usr,"Enter the Z level to generate") as num|null
if(!chosen_z)
return

if(holder)
nanomapgen_DumpTile(1, 1, text2num(input(usr,"Enter the Z level to generate")))
nanomapgen_DumpTile(1, 1, chosen_z)

/client/proc/nanomapgen_DumpTile(var/startX = 1, var/startY = 1, var/currentZ = 1, var/endX = -1, var/endY = -1)

Expand Down

0 comments on commit d7bf47c

Please sign in to comment.