Move daynight prompt where it should be

This commit is contained in:
friarsol
2021-11-08 22:08:34 -05:00
parent db81fb9e57
commit bbbf7ec53c
2 changed files with 13 additions and 4 deletions

View File

@@ -157,9 +157,7 @@ public class CPrompt implements ICDoc {
matchUI.getGameController().selectButtonCancel();
}
public void setMessage(final String s0) {
String header = FControl.instance.getCurrentScreen().getDaytime() != null ? "[" + Localizer.getInstance().getMessage("lbl"+FControl.instance.getCurrentScreen().getDaytime()) + "]\n\n" : "";
header += s0;
public void setMessage(final String header) {
view.getTarMessage().setText(FSkin.encodeSymbols(header, false));
view.setCardView(null);
}