mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Update hilbertshotel.dm
This commit is contained in:
@@ -54,7 +54,7 @@ GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337)
|
|||||||
to_chat(user, "<span class='warning'>That is not a valid room number!</span>")
|
to_chat(user, "<span class='warning'>That is not a valid room number!</span>")
|
||||||
return
|
return
|
||||||
if(!isturf(loc))
|
if(!isturf(loc))
|
||||||
if((loc == user) || (loc.loc == user) || (loc in user.GetAllContents(type)) //short circuit, first two checks are cheaper.
|
if((loc == user) || (loc.loc == user) || (loc.loc in user.contents) || (loc in user.GetAllContents(type)) //short circuit, first two checks are cheaper and covers almost all case (loc.loc covers hotel in box in backpack).
|
||||||
forceMove(get_turf(user))
|
forceMove(get_turf(user))
|
||||||
if(!storageTurf) //Blame subsystems for not allowing this to be in Initialize
|
if(!storageTurf) //Blame subsystems for not allowing this to be in Initialize
|
||||||
if(!GLOB.hhStorageTurf)
|
if(!GLOB.hhStorageTurf)
|
||||||
|
|||||||
Reference in New Issue
Block a user