|
|
@ -53,7 +53,6 @@ local function doCheck()
|
|
|
|
msg = msg or checkVariable(unit.counters2.sleepiness_timer, 150000, 'very drowsy', sleepyUnits, unit)
|
|
|
|
msg = msg or checkVariable(unit.counters2.sleepiness_timer, 150000, 'very drowsy', sleepyUnits, unit)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if msg then
|
|
|
|
if msg then
|
|
|
|
df.global.pause_state = true
|
|
|
|
df.global.pause_state = true
|
|
|
|
dfhack.gui.showPopupAnnouncement(msg, 7, true)
|
|
|
|
dfhack.gui.showPopupAnnouncement(msg, 7, true)
|
|
|
|