DoubleDeez / MDFramework

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

Framework can't load without null check for AutoRegAtr #2

Closed Meister1593 closed 4 years ago

Meister1593 commented 4 years ago

Godot version: 3.2.1 Mono release 64 bit

OS/device including version: Linux 5.6.7.arch1-1, Arch rolling, mono 6.4.0, mono-msbuild 16.5.xamarinxplat.2020.01.10.05.36-1

Issue description: When loading game with autoloaded or attached MDGameInstance it fails to load because AutoRegAtr is null and it crashes game. Line 123 in MDGameInstance: image With simple null check it passes and launches game afterwards fine: image