# HG changeset patch # User Farmbuyer of US-Kilrogg # Date 1328079214 0 # Node ID 94dacaeff4630504f2a62d1a8518d5dac9ccfe24 # Parent 857aea8ae33d73194a247788e4f6e5f8b4470757 Make sure that missed duration fields get set to a safe value (can be missed in certain encounters). diff -r 857aea8ae33d -r 94dacaeff463 gui.lua --- a/gui.lua Wed Feb 01 02:34:10 2012 +0000 +++ b/gui.lua Wed Feb 01 06:53:34 2012 +0000 @@ -290,6 +290,7 @@ elseif e.kind == 'boss' then local v + e.duration = e.duration or 0 -- can occasionally miss getting set if e.reason == 'kill' then if e.attempts == 1 then v = "one-shot"