mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user