This commit is contained in:
copecone committed 2026-06-20 07:00:45 +09:00
1 parent 327f38ec03
commit f1aa8a0582
1 file changed
+1 -1
+1 -1
View File
@@ -332,7 +332,7 @@ namespace ADOFAIRenderer.Core
var targetMethod = typeof(scnEditor).GetMethod("TryApplicationQuit",
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public);
if (targetMethod == null || scnEditor.instance == null) return;
if (targetMethod == null || !scnEditor.instance) return;
if (ADOBase.levelPath.IsNullOrEmpty())
{
scnEditor.instance.TryQuitToMenu();