Revision 3762

Date:
2019-11-21 02:39:45
Author:
dsb
Revision Log:
Pull the text of the repeated message out of .last_msg if it's no longer in
.log{}.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • tome2/trunk/class/LogFlasher.lua

     
    45 45 if str == self.last_msg then
    46 46 local old_sfx = ('%%s*%%(×%d%%)$'):format(self.last_msg_rpt)
    47 47 base = base:gsub(old_sfx, '', 1)
    48 if base == "" then base = self.last_rpt_msg end
    48 49 self.last_msg_rpt = self.last_msg_rpt + 1
    49 50 str = ('(×%d)'):format(self.last_msg_rpt)
    50 51 else