mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 13:02:02 +00:00
Merge pull request #4039 from Ccomp5950/teleport_bug_squish
Teleport bug fix...maybe.
This commit is contained in:
@@ -114,6 +114,11 @@ var/list/valid_secondary_effect_types = list(\
|
||||
#define TRIGGER_NITRO 12
|
||||
|
||||
/obj/machinery/artifact/process()
|
||||
|
||||
var/turf/L = loc
|
||||
if(isnull(L) || !istype(L)) // We're inside a container or on null turf, either way stop processing effects
|
||||
return
|
||||
|
||||
if(my_effect)
|
||||
my_effect.process()
|
||||
if(secondary_effect)
|
||||
|
||||
Reference in New Issue
Block a user