We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde3543 commit 1004aafCopy full SHA for 1004aaf
source/managers/FreeplayManager.hx
@@ -99,7 +99,7 @@ class FreeplayManager {
99
}
100
101
#else
102
- return switch (instance != null && Std.isOfType(instance, FreeplayManager)) {
+ return switch (instance != null && instance.isType(FreeplayManager, true)) {
103
case true:
104
trace("Using existing FreeplayManager instance.");
105
if (ensureLoaded) instance.reloadFreeplay(true);
0 commit comments