public static int getWheelLevel() { DebugHelper.Debug("Getting Engineer Level"); ConfigLoader.loadConfigFile(); //Load the config if not already loaded DebugHelper.Debug(string.Concat("Engineer Level Required for Wheels: ", wheelLevel.ToString())); return(wheelLevel); }
public static bool getDebug() { if (!hasLoaded) { ConfigLoader.loadConfigFile(); //This will just return immediately if loaded } return(doDebug); }