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