private void VerifyGlobalVariableExists(string globalVariableName) { if (!GlobalVariables.Exists(m => m.InternalName == globalVariableName)) { throw new CampaignConfigException($"Reference to global variable '{globalVariableName}' defined, " + $"but the global variable itself does not exist. Check the INI/Campaigns.ini file for mistakes." + Environment.NewLine + Environment.NewLine + $"If you are an end-user, please delete the INI/Campaigns.ini file and start the client then, or contact the game/mod authors for support."); } }