Skip to content

[Bug] DummyPlayer is not available during scenarios, unless a regular world has been loaded first #7

@Darxo

Description

@Darxo

::MSU.getDummyPlayer() is currently only allowed to create a dummy player, once the first world has been initiatlized during that game session. Any time before that and this function returns null

Problem

Mods, which utilize the dummyPlayer during Scenarios (e.g. for displaying nested tooltips) can't do so, because will be null here.
The player has to first load a random game and quit to the main menu, before he can finally play scenarios without issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions