Fixes Dreamchecker warnings in the codebase (#17422)

This commit is contained in:
SteelSlayer
2022-02-23 08:36:02 +01:00
committed by GitHub
parent 2828ac31fb
commit 7131a3f2e2
12 changed files with 23 additions and 99 deletions
@@ -1444,6 +1444,8 @@
if(2)
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
pass()
else
if(prob(60))
M.adjust_nutrition(-remove_nutrition)
@@ -893,6 +893,8 @@
if(2)
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
pass()
else
if(prob(60))
var/fat_to_burn = max(round(M.nutrition / 100, 1), 5)