Pause Screen Fixes + Indentation fix
- Fixed crash that occured when pausing the game during the old intro - Fix weird indentation in warpblock.vb
This commit is contained in:
parent
fa435ae9f4
commit
86076944b2
|
@ -21,7 +21,7 @@
|
||||||
Me.ServerNames.Add(s.IdentifierName.ToLower())
|
Me.ServerNames.Add(s.IdentifierName.ToLower())
|
||||||
Next
|
Next
|
||||||
|
|
||||||
Me.CanBePaused = True
|
Me.CanBePaused = False
|
||||||
Me.CanChat = False
|
Me.CanChat = False
|
||||||
Me.CanMuteMusic = False
|
Me.CanMuteMusic = False
|
||||||
Me.MouseVisible = True
|
Me.MouseVisible = True
|
||||||
|
|
|
@ -25,7 +25,10 @@
|
||||||
If Core.Player.IsGameJoltSave = True Then
|
If Core.Player.IsGameJoltSave = True Then
|
||||||
Me.canCreateAutosave = False
|
Me.canCreateAutosave = False
|
||||||
Else
|
Else
|
||||||
If Me.PreScreen IsNot Nothing AndAlso Camera.Name IsNot Nothing Then
|
If Me.PreScreen IsNot Nothing Then
|
||||||
|
If Camera Is Nothing Then
|
||||||
|
Camera = New OverworldCamera()
|
||||||
|
ElseIf Camera.Name IsNot Nothing Then
|
||||||
If Camera.Name <> "Overworld" Then
|
If Camera.Name <> "Overworld" Then
|
||||||
Me.canCreateAutosave = False
|
Me.canCreateAutosave = False
|
||||||
Else
|
Else
|
||||||
|
@ -41,6 +44,7 @@
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Overrides Sub Draw()
|
Public Overrides Sub Draw()
|
||||||
|
|
Loading…
Reference in New Issue