Fix build issue on Godot 3.0.x

This commit is contained in:
Pieter-Jan Briers
2018-06-08 14:52:48 +02:00
parent 6d35e339cb
commit 0563a5beb3

View File

@@ -86,7 +86,7 @@ namespace SS14.Client.Graphics.Drawing
{
get
{
return cachedTexture ?? new GodotTextureSource(stylebox.Texture);
return cachedTexture ?? new GodotTextureSource((Godot.Texture)stylebox.Texture);
}
// Woo implicit casts.
set => stylebox.Texture = cachedTexture = value;