mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 10:34:10 +01:00
Fix a bunch of issues and runtimes (#17951)
* selection target * ugh * fix deadmin * larger * fix paper icons * those are inverted * don't miss that * fix all * point transfer * add nostrip flag to items * un.... teppi * . * end life proc after qdel * this could be null in very rare cases * this has a lot of sleeps, someday should be refactored and check for qdeleted * needs to be an object * qdel check this * use the rsc properly * wtf? * . * fix narrate * . * push * inform user, null it * . * can be null * fix maint lurkers * . * spans * . * fix that too * urg * fix distillery * don't wrap them * needs usr * Update cash_register.dm * quick hook cleanup * lots of fixes * . * clean that up for reasons
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -267,7 +267,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