mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 22:55:55 +03:00
GetImage returns null on -1
This commit is contained in:
parent
fb97dbee2e
commit
8d5f140e09
@ -99,6 +99,7 @@ public static bool GetImageSize( int image, out uint width, out uint height )
|
||||
/// </summary>
|
||||
public static Data.Image? GetImage( int image )
|
||||
{
|
||||
if ( image == -1 ) return null;
|
||||
if ( image == 0 ) return null;
|
||||
|
||||
var i = new Data.Image();
|
||||
|
Loading…
Reference in New Issue
Block a user