mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 07:28:53 +01: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