mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 13:47:33 +01:00
[MIRROR] Fix a bunch of issues and runtimes (#11145)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
199e857d15
commit
46c940fbdf
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user