fixed god achievement
This commit is contained in:
parent
1de5ec9072
commit
67789a7419
@ -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];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user