Fixes some exploits (#16134)

This commit is contained in:
Qwertytoforty
2021-06-07 18:46:16 +01:00
committed by GitHub
parent ede40b8773
commit 5896bd2c8e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -428,6 +428,8 @@
if(iswallturf(A))
if(istype(A, /turf/simulated/wall/r_wall) && !canRwall)
return FALSE
if(istype(A, /turf/simulated/wall/indestructible))
return FALSE
if(checkResource(5, user))
to_chat(user, "Deconstructing Wall...")
playsound(loc, 'sound/machines/click.ogg', 50, 1)