mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 07:08:05 +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 @@ namespace Steamworks.Data
|
|||||||
SteamUserStats.Internal.GetStat( Name, ref val );
|
SteamUserStats.Internal.GetStat( Name, ref val );
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetInt()
|
public int GetInt()
|
||||||
@ -147,4 +147,4 @@ namespace Steamworks.Data
|
|||||||
return SteamUserStats.Internal.StoreStats();
|
return SteamUserStats.Internal.StoreStats();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user