mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-13 09:13:24 +01:00
Merge pull request #3338 from CHOMPStation2/upstream-merge-11872
[MIRROR] [MIRROR] Fixes simplemobs with 0 init nutrition runtiming
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
healths.icon_state = "health7"
|
||||
|
||||
//Updates the nutrition while we're here
|
||||
var/food_per = (nutrition / 500) * 100 //VOREStation Edit: Bandaid hardcode number to avoid misleading percentage based hunger alerts with our 6k cap.
|
||||
var/food_per = (nutrition / max_nutrition) * 100
|
||||
switch(food_per)
|
||||
if(90 to INFINITY)
|
||||
clear_alert("nutrition")
|
||||
|
||||
Reference in New Issue
Block a user