Fix for GetFloat on struct Steamworks.Data.Stat always returning 0 (#598)

Co-authored-by: B0TLANNER <b0tlanner.games@gmail.com>
This commit is contained in:
BOTLANNER 2021-10-18 11:52:55 +02:00 committed by GitHub
parent 141dbfdaa1
commit 132b1a579b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ public float GetFloat()
SteamUserStats.Internal.GetStat( Name, ref val );
}
return 0;
return val;
}
public int GetInt()
@ -147,4 +147,4 @@ public bool Store()
return SteamUserStats.Internal.StoreStats();
}
}
}
}