This commit is contained in:
Metis
2024-08-30 17:46:52 -04:00
parent 956e5bfc8d
commit 8f1ff24830
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
return ..()
var/stuckage_weight = L?.client?.prefs?.stuckage
if(!stuckage_weight)
if(isnull(stuckage_weight) || (stuckage_weight < 10))
return ..() // They aren't able to get stuck
if(L.fatness > (stuckage_weight * 2))

View File

@@ -117,7 +117,7 @@
return
var/breaking_weight = M?.client?.prefs?.chair_breakage
if(!breaking_weight || (M != user) || ((breaking_weight / 3) > M.fatness))
if(isnull(breaking_weight) || (breaking_weight < 10) || (M != user) || ((breaking_weight / 3) > M.fatness))
M.visible_message(\
"<span class='warning'>[user] buckles [M] to [src]!</span>",\
"<span class='warning'>[user] buckles you to [src]!</span>",\