Skip to content

Commit

Permalink
TGS Test Merge (#6941)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinz authored and Kevinz committed Dec 27, 2024
2 parents 05a79a2 + d7bf47c commit 03748cf
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 03748cf

Please sign in to comment.