mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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…
x
Reference in New Issue
Block a user