Fixes being able to dismantle exoplanet turfs (#15995)

* Exoplanet turfs fix

* Fixes for real
This commit is contained in:
Alberyk
2023-03-11 00:05:36 +00:00
committed by GitHub
parent 0672ac4651
commit 478ee38514
2 changed files with 7 additions and 2 deletions
+1 -2
View File
@@ -5,6 +5,7 @@
has_resources = 1
footstep_sound = /singleton/sound_category/asteroid_footstep
turf_flags = TURF_FLAG_BACKGROUND
flags = null
var/diggable = 1
var/dirt_color = "#7c5e42"
var/has_edge_icon = TRUE
@@ -37,8 +38,6 @@
if(T.use(1))
playsound(src, 'sound/items/Deconstruct.ogg', 80, 1)
ChangeTurf(/turf/simulated/floor, FALSE, FALSE, TRUE)
else
..()
/turf/simulated/floor/exoplanet/ex_act(severity)
switch(severity)