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:
GDN
2024-04-08 21:42:22 +00:00
committed by GitHub
co-authored by Charlie Nolan
parent 744d9c6bed
commit b6be540b43
18 changed files with 72 additions and 60 deletions
+2
View File
@@ -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)