[MIRROR] Fixes get_area not working on areas (#2788)
* Fixes get_area not working on areas * Fixes get_area not working on areas
This commit is contained in:
committed by
Poojawa
parent
ca2665a128
commit
119828bb59
@@ -9,6 +9,8 @@
|
||||
#define CULT_POLL_WAIT 2400
|
||||
|
||||
/proc/get_area(atom/A)
|
||||
if(isarea(A))
|
||||
return A
|
||||
var/turf/T = get_turf(A)
|
||||
return T ? T.loc : null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user