mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
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:
parent
141dbfdaa1
commit
132b1a579b
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user