Changes between Version 1 and Version 2 of Ticket #6433


Ignore:
Timestamp:
Feb 16, 2022, 10:23:49 AM (2 years ago)
Author:
Langbart
Comment:

possible Solution

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6433 – Description

    v1 v2  
    2121
    2222==== File causing issues
    23 Line 11 in the file `gui/loading/TitleDisplay.js` has been changed. If I undo the change, the problem for the `autostart` command is no longer reproducible, but the normal GUI game setup within the app is broken. I don't know how to solve the problem, waiting for big brain (bb).
     23Line 11 in the file `gui/loading/TitleDisplay.js` has been changed. If I undo the change, the problem for the `autostart` command is no longer reproducible, but the normal GUI game setup within the app is broken.
    2424
    2525{{{#!diff
     
    4848 TitleDisplay.prototype.Loading = translate("Loading “%(map)s”");
    4949}}}
     50
     51==== possible Solution:
     52The addition of `|| data.attribs.settings.Name` solves the problem, but is this the right solution?
     53{{{
     54#!js lineno=11
     55                        { "map": translate(data.attribs.settings.mapName || data.attribs.settings.Name) });
     56        }
     57}}}