Fix invalid dialogue sequences being appended to chat log.
This commit is contained in:
parent
304b0f1541
commit
6d1ab4c9c5
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.4 \cu(Mon 20 Sep 19:23:59 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.1.4 \cu(2021-09-20 19:23:59)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.5 \cu(Mon 20 Sep 19:42:08 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw1.1.5 \cu(2021-09-20 19:42:08)\c-";
|
||||
|
|
|
|||
|
|
@ -380,7 +380,8 @@ Class SWWMDirectMessage : HUDMessageBase
|
|||
}
|
||||
else txt = StringTable.Localize("$SWWM_"..seqname..seqnum);
|
||||
l = fnt.BreakLines(txt,220);
|
||||
// append to the player's chat log
|
||||
// append to the player's chat log (if it's valid)
|
||||
if ( (seqnum < 1) || (seqnum > seqcnt) ) return;
|
||||
let bar = SWWMStatusBar(StatusBar);
|
||||
if ( bar )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue