Fixes air alarm nanoui local status

Fixes the local status using the wrong danger level
This commit is contained in:
mwerezak
2015-08-09 00:00:12 -04:00
parent 1486876e73
commit 0b7ad4549c

View File

@@ -30,9 +30,9 @@ Used In File(s): \code\game\machinery\alarm.dm
{{:helper.fixed(value.value, 1)}}
</span>{{:value.unit}}<br>
{{/for}}
Local Status: {{if value.danger_level == 2}}
Local Status: {{if data.total_danger == 2}}
<span class='bad'>DANGER: Internals Required
{{else value.danger_level == 1}}
{{else data.total_danger == 1}}
<span class='average'>Caution
{{else}}
<span class='good'>Optimal