public static void Achievement_Unlock(int id) { if (!Program.Steam_Loaded) return; // Note: do not .Dispose() var manager = new AchievementManager(); manager.enable(); if (id == 0) manager.UnlockBorderlessAchievement(); }
public static void Achievement_Unlock(int id) { if (!Program.SteamLoaded) { return; } // Note: do not .Dispose() var manager = new AchievementManager(); manager.Enable(); if (id == 0) { manager.UnlockBorderlessAchievement(); } }