Possibly prevent a future crash
This commit is contained in:
parent
a8dd94a7e6
commit
2e2af670e3
|
@ -321,8 +321,9 @@
|
||||||
|
|
||||||
If r <> lastRectangle Then
|
If r <> lastRectangle Then
|
||||||
lastRectangle = r
|
lastRectangle = r
|
||||||
|
If Me.Texture IsNot Nothing Then
|
||||||
Textures(0) = TextureManager.GetTexture(Me.Texture, r, 1)
|
Textures(0) = TextureManager.GetTexture(Me.Texture, r, 1)
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
Loading…
Reference in New Issue