1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 02:39:02 -08:00

show uncertain flags differently when set

This commit is contained in:
Connor Olding 2015-05-24 23:49:22 -07:00
parent 58fb468850
commit 28a2f9a059

View file

@ -41,10 +41,15 @@ function FlagMonitor:mark(i, x, x1)
str = ('%02i,%i=%i (%s)'):format(i, which, state, self.name) str = ('%02i,%i=%i (%s)'):format(i, which, state, self.name)
end end
local ib = i*8 + which 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.modified[ib] = true
self.dirty = true self.dirty = true
if not curious then
str = str..' (NEW!)' str = str..' (NEW!)'
else
str = str..' (!!!)'
end
end end
if not ignore[str] then if not ignore[str] then
dprintf('%s @%i', str, now) dprintf('%s @%i', str, now)