Fixed the bug in the description
If you use the @environment.setdaytime(int) command and go back to the main menu, the daytime does not change reset to the system time, causing the main menu to show the wrong background color (e.g. Morning while it is evening)
This commit is contained in:
parent
40b9dc002a
commit
c1759499e4
|
@ -45,8 +45,6 @@ Public Class PlayerInventory
|
|||
Select Case Item.ItemType
|
||||
Case Items.ItemTypes.Standard
|
||||
Return "€"
|
||||
Case Items.ItemTypes.BattleItems
|
||||
Return "↔"
|
||||
Case Items.ItemTypes.KeyItems
|
||||
Return "№"
|
||||
Case Items.ItemTypes.Machines
|
||||
|
@ -59,6 +57,8 @@ Public Class PlayerInventory
|
|||
Return "→"
|
||||
Case Items.ItemTypes.Pokéballs
|
||||
Return "↓"
|
||||
Case Items.ItemTypes.BattleItems
|
||||
Return "↔"
|
||||
End Select
|
||||
|
||||
Return ""
|
||||
|
|
|
@ -68,7 +68,7 @@ Public Class PressStartScreen
|
|||
_shader = New GameDevCommon.Rendering.BasicShader()
|
||||
CType(_shader.Effect, BasicEffect).LightingEnabled = False
|
||||
_camera = New Scene.MainMenuCamera()
|
||||
|
||||
World.setDaytime = Nothing
|
||||
Dim dayTime = World.GetTime
|
||||
|
||||
Select Case dayTime
|
||||
|
|
Loading…
Reference in New Issue