mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Moves get_area to a macro (#24712)
* Moves get_area to a macro * fixes * Update code/game/machinery/camera/camera.dm Co-authored-by: Charlie Nolan <funnyman3595@gmail.com> * runtime fix * moer fix --------- Co-authored-by: Charlie Nolan <funnyman3595@gmail.com>
This commit is contained in:
@@ -100,6 +100,8 @@ GLOBAL_VAR(scoreboard) // Variable to save the scoreboard string once it's been
|
||||
var/mob/M = _I
|
||||
if(is_station_level(M.z))
|
||||
check_station_player(M)
|
||||
else if(!M.loc)
|
||||
stack_trace("[M] ended up without a location!")
|
||||
else if(SSshuttle.emergency.mode >= SHUTTLE_ENDGAME && istype(get_area(M), SSshuttle.emergency.areaInstance))
|
||||
check_shuttle_player(M)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user