1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 22: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)
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)