mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Fixes ghosts phasing into reality. (#9361)
When leaving bluespace you would phase into reality despite being a ghost, breaking the fabric of time and space This no longer happens
This commit is contained in:
@@ -112,12 +112,12 @@
|
||||
/obj/effect/step_trigger/teleporter/random/Trigger(var/atom/movable/A)
|
||||
if(teleport_x && teleport_y && teleport_z)
|
||||
if(teleport_x_offset && teleport_y_offset && teleport_z_offset)
|
||||
if(ismob(A))
|
||||
if(isliving(A))
|
||||
var/mob/M = A
|
||||
M.visible_message(FONT_LARGE(SPAN_WARNING("\The [A] blinks out of reality!")), FONT_LARGE(SPAN_WARNING("You feel your stomach churn as you slip into bluespace!")))
|
||||
A.x = rand(teleport_x, teleport_x_offset)
|
||||
A.y = rand(teleport_y, teleport_y_offset)
|
||||
A.z = rand(teleport_z, teleport_z_offset)
|
||||
if(ismob(A))
|
||||
if(isliving(A))
|
||||
var/mob/M = A
|
||||
M.visible_message(FONT_LARGE(SPAN_WARNING("\The [A] blinks into reality!")), FONT_LARGE(SPAN_WARNING("You feel your stomach turn as you get thrown out of bluespace!")))
|
||||
Reference in New Issue
Block a user