mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[MIRROR] Refactors area stuff (#265)
* 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 * Refactors area stuff Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
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