[MIRROR] Fix a bunch of issues and runtimes (#11145)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-05 21:47:08 +02:00
committed by GitHub
co-authored by Kashargul
parent 199e857d15
commit 46c940fbdf
68 changed files with 205 additions and 234 deletions
+1 -1
View File
@@ -152,7 +152,7 @@
return
//Drill through the flooring, if any.
if(istype(get_turf(src), /turf/simulated/mineral))
if(ismineralturf(get_turf(src)))
var/turf/simulated/mineral/M = get_turf(src)
M.GetDrilled()
+1 -1
View File
@@ -256,7 +256,7 @@
var/obj/item/stack/flag/F = locate() in get_turf(src)
var/turf/T = get_turf(src)
if(!T || !istype(T,/turf/simulated/mineral))
if(!T || !ismineralturf(T))
to_chat(user, "The flag won't stand up in this terrain.")
return
+1 -1
View File
@@ -276,7 +276,7 @@ var/list/mining_overlay_cache = list()
if(LAZYACCESS(ignore_list, T))
continue
if(istype(T, /turf/simulated/mineral))
if(ismineralturf(T))
T.update_icon()
if(istype(T, /turf/simulated/wall/solidrock))
+1 -1
View File
@@ -74,7 +74,7 @@
new /obj/effect/temp_visual/resonance_crush(T)
// Mineral turfs get drilled!
if(istype(T, /turf/simulated/mineral))
if(ismineralturf(T))
var/turf/simulated/mineral/M = T
M.GetDrilled()
qdel(src)
+1 -1
View File
@@ -138,7 +138,7 @@
new /obj/effect/temp_visual/resonance_crush(T)
// Mineral turfs get drilled!
if(istype(T, /turf/simulated/mineral))
if(ismineralturf(T))
var/turf/simulated/mineral/M = T
M.GetDrilled()
qdel(src)