mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fixes ghost hotel door teleporting
This commit is contained in:
@@ -245,6 +245,11 @@ GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337)
|
||||
user.forceMove(get_turf(parentSphere))
|
||||
do_sparks(3, FALSE, get_turf(user))
|
||||
|
||||
/turf/closed/indestructible/hoteldoor/attack_ghost(mob/dead/observer/user)
|
||||
if(!isobserver(user) || !parentSphere)
|
||||
return ..()
|
||||
user.forceMove(get_turf(parentSphere))
|
||||
|
||||
//If only this could be simplified...
|
||||
/turf/closed/indestructible/hoteldoor/attack_tk(mob/user)
|
||||
return //need to be close.
|
||||
|
||||
Reference in New Issue
Block a user