dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

showPopupAnnouncement only showing the last popup, not the new text

Open SouDescolado opened this issue 2 years ago • 1 comments

Trying to use dfhack.gui.showPopupAnnouncement("SOME TEXT HERE",COLOR_WHITE) on a new world to try to force an announcement, it just showed me the last announcement without any change in the text image

Not sure if its relevant, but the same result occurs regardless if game is paused or not

Using DFhack version 50.05-alpha1(release) on x86_64

Dwarf fortress version is v50.05

SouDescolado avatar Jan 24 '23 18:01 SouDescolado

New info after some testing

If I do a makeAnnouncement, it shows the last message. If I do a PopupAnnouncement, it shows the last message. HOWEVER, If I do both, the makeAnnouncement will show the last message but the PopupAnnouncement will show the message I want. This message will now be the "last message" and will repeat once if I run the code again.

SouDescolado avatar Jan 24 '23 20:01 SouDescolado