BaseMod icon indicating copy to clipboard operation
BaseMod copied to clipboard

Game crashes when using localization strings for custom characters

Open twanvl opened this issue 6 years ago • 1 comments

Ideally custom characters would use strings loaded from a localization file. But when attempting to do that the game crashes on startup. I suspect that this happens receiveEditCharacters is called before receiveEditStrings.

The current workaround is to hardcode the character strings in the call to BaseMod.addCharacter, and MyCustomPlayer.getLoadout().

twanvl avatar Mar 12 '18 13:03 twanvl

Thanks for the heads up. I need to update the localization so it can pull from different folders based on the language the game is set to so I'll look at this issue when I do that

daviscook477 avatar Mar 12 '18 13:03 daviscook477