This commit is contained in:
Evil Factory
2025-12-30 16:13:30 -03:00
committed by Maplewheels
parent 4f8531332e
commit 1daf68dea1
@@ -501,7 +501,7 @@ namespace Barotrauma
void LoadStaticAssets() void LoadStaticAssets()
{ {
if (CurrentRunState <= RunState.Parsed) if (CurrentRunState < RunState.Parsed)
{ {
throw new InvalidOperationException($"{nameof(LoadStaticAssets)} cannot load assets in the '{CurrentRunState}' state."); throw new InvalidOperationException($"{nameof(LoadStaticAssets)} cannot load assets in the '{CurrentRunState}' state.");
} }