Refactors area stuff (#52751)

-bitfielded a bunch of bools on /area, I left some untouched cus they get called a lot
-Unused vars
-Fixed a var pretending to be a fake bool
-Probably more
This commit is contained in:
TiviPlus
2020-08-10 16:31:59 -03:00
committed by GitHub
parent 896a236255
commit b4fe4f717b
42 changed files with 183 additions and 217 deletions
+1 -1
View File
@@ -242,7 +242,7 @@
/mob/living/proc/canSuicide()
var/area/A = get_area(src)
if(A.block_suicide)
if(A.area_flags & BLOCK_SUICIDE)
to_chat(src, "<span class='warning'>You can't commit suicide here! You can ghost if you'd like.</span>")
return
switch(stat)