DoubleDeez / MDFramework

A multiplayer C# game framework for Godot 3.4 Mono.
https://discord.gg/UH49eHK
MIT License
77 stars 13 forks source link

Exported game couldn't find default configuration, crash #93

Closed Meister1593 closed 3 years ago

Meister1593 commented 3 years ago

When game is fully exported, there was an issue with configuration. It couldn't load default configuration and crashed entire game with NPE.

I found one little variable that should be passed inside function, but instead it was ignored and null was passed. which lead to NPE. https://github.com/DoubleDeez/MDFramework/blob/2792f09f012ecbb05f91b742bef0cfb344ced289/MDHelpers/MDConfiguration.cs#L208-L210