Skip to content

Commit

Permalink
fixes not being able to set offsets to 0 on the supply drop console (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-oofert authored May 9, 2023
1 parent 15cd6d1 commit c6ece4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/machinery/squad_supply/supply_console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
refresh_pad()
if("set_x")
var/new_x = text2num(params["set_x"])
if(!new_x)
if(!isnum(new_x))
return
x_offset = new_x

if("set_y")
var/new_y = text2num(params["set_y"])
if(!new_y)
if(!isnum(new_y))
return
y_offset = new_y

Expand Down

0 comments on commit c6ece4e

Please sign in to comment.