From 6c7065fb7bcbba6581a8bfd7a944147481e199f7 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 26 Dec 2019 13:12:10 -0800 Subject: [PATCH] Fix bool compare oops https://github.com/kwsch/PKHeX/issues/2600#issuecomment-569134146 ty @slp32 ! --- PKHeX.Core/Legality/Verifiers/ParseSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Verifiers/ParseSettings.cs b/PKHeX.Core/Legality/Verifiers/ParseSettings.cs index 2a1cce037..4624ef0d9 100644 --- a/PKHeX.Core/Legality/Verifiers/ParseSettings.cs +++ b/PKHeX.Core/Legality/Verifiers/ParseSettings.cs @@ -58,7 +58,7 @@ public static bool InitFromSaveFileData(SaveFile sav) ActiveTrainer = sav; if (sav.Generation >= 3) return AllowGBCartEra = false; - bool vc = sav.Exportable || (sav.FileName?.EndsWith("dat") ?? false); // default to true for non-exportable + bool vc = !sav.Exportable || (sav.FileName?.EndsWith("dat") ?? false); // default to true for non-exportable return AllowGBCartEra = !vc; // physical cart selected } }