fixed god achievement
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Steamworks;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
@@ -51,7 +52,12 @@ namespace Assets.Scripts
|
|||||||
result[2] = stats[4];
|
result[2] = stats[4];
|
||||||
result[3] = stats[5];
|
result[3] = stats[5];
|
||||||
result[4] = stats[6];
|
result[4] = stats[6];
|
||||||
SteamWorksHandler.getStandardAchievement("GodAchievement");
|
if (SteamManager.Initialized)
|
||||||
|
{
|
||||||
|
SteamWorksHandler.getStandardAchievement("GodAchievement");
|
||||||
|
SteamUserStats.StoreStats();
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
result[0] = stats[1];
|
result[0] = stats[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user