POLARIS: Use drop_location() for things

This commit is contained in:
Arokha Sieyes
2018-03-08 13:03:09 -05:00
parent 5c12e69fab
commit 4538a6859f
7 changed files with 26 additions and 6 deletions

View File

@@ -502,3 +502,12 @@
if(A && A.has_gravity())
return TRUE
return FALSE
/atom/proc/drop_location()
var/atom/L = loc
if(!L)
return null
return L.AllowDrop() ? L : get_turf(L)
/atom/proc/AllowDrop()
return FALSE