|
|
@@ -70,9 +70,9 @@ public class PKGameReadyView_Challenge : MonoBehaviour
|
|
|
void OnDestroy()
|
|
|
{
|
|
|
if (ins == this) ins = null;
|
|
|
- GameMgr.ins.removeLockerForGamePause(this);
|
|
|
+ if (GameMgr.ins) GameMgr.ins.removeLockerForGamePause(this);
|
|
|
if (isDiscarded) return;
|
|
|
- GameObject.FindObjectOfType<ArmBow>().Show();
|
|
|
+ if (ArmBow.ins) ArmBow.ins.Show();
|
|
|
gameMode.UnbanBowReady();
|
|
|
}
|
|
|
}
|