mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +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>")
|
||||
return
|
||||
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))
|
||||
if(!storageTurf) //Blame subsystems for not allowing this to be in Initialize
|
||||
if(!GLOB.hhStorageTurf)
|
||||
|
||||
Reference in New Issue
Block a user