From 28a2f9a059635ac145cd477518b2e33ae02e7bc2 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 24 May 2015 23:49:22 -0700 Subject: [PATCH] show uncertain flags differently when set --- Lua/event flag monitor.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Lua/event flag monitor.lua b/Lua/event flag monitor.lua index c6f0e7b..53df926 100644 --- a/Lua/event flag monitor.lua +++ b/Lua/event flag monitor.lua @@ -41,10 +41,15 @@ function FlagMonitor:mark(i, x, x1) str = ('%02i,%i=%i (%s)'):format(i, which, state, self.name) end local ib = i*8 + which - if not self.modified[ib] then + local curious = self.modified[ib] == "curious" + if not self.modified[ib] or curious then self.modified[ib] = true self.dirty = true - str = str..' (NEW!)' + if not curious then + str = str..' (NEW!)' + else + str = str..' (!!!)' + end end if not ignore[str] then dprintf('%s @%i', str, now)