Commit 51349d85 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix exit on return

parent bb52ba0f
......@@ -794,7 +794,7 @@ public class Ocgcore : ServantWithCardDescription
public void returnTo()
{
TcpHelper.SaveRecord();
if (Program.exitOnReturn)
if (Program.exitOnReturn && returnServant != Program.I().deckManager)
Program.I().menu.onClickExit();
else if (returnServant != null) Program.I().shiftToServant(returnServant);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment