mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] converts area booleans to flags (#9595)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7131e4602e
commit
893b4e2ac0
@@ -13,7 +13,8 @@
|
||||
|
||||
/datum/component/resize_guard/proc/check_resize()
|
||||
var/area/A = get_area(parent)
|
||||
if(A?.limit_mob_size)
|
||||
var/mob/living/L = parent
|
||||
L.resize(L.size_multiplier, ignore_prefs = TRUE)
|
||||
qdel(src)
|
||||
if(A?.flag_check(AREA_ALLOW_LARGE_SIZE))
|
||||
return
|
||||
var/mob/living/L = parent
|
||||
L.resize(L.size_multiplier, ignore_prefs = TRUE)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user