mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Matter wont consume if theres a wall already (#19518)
This commit is contained in:
@@ -378,6 +378,8 @@
|
||||
to_chat(user, "Building Wall...")
|
||||
playsound(loc, 'sound/machines/click.ogg', 50, 1)
|
||||
if(do_after(user, 20 * toolspeed, target = A))
|
||||
if(!isfloorturf(A))
|
||||
return FALSE
|
||||
if(!useResource(3, user))
|
||||
return FALSE
|
||||
playsound(loc, usesound, 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user