Fix Cut 1 findings: Polygon2D 256px terrain bake, spectator LOS memory leak, steep slope/biped physics, and HUD polish
This commit is contained in:
parent
76584473d4
commit
af6604da80
9 changed files with 458 additions and 69 deletions
|
|
@ -133,7 +133,15 @@ public partial class Main : Node3D
|
|||
Reset(_seed + 1);
|
||||
break;
|
||||
case Key.Escape:
|
||||
if (DisplayServer.GetName() != "headless")
|
||||
if (_hud.GarageExpanded)
|
||||
{
|
||||
_hud.ToggleGarage();
|
||||
if (DisplayServer.GetName() != "headless")
|
||||
{
|
||||
Input.MouseMode = Input.MouseModeEnum.Visible;
|
||||
}
|
||||
}
|
||||
else if (DisplayServer.GetName() != "headless")
|
||||
{
|
||||
Input.MouseMode = Input.MouseMode == Input.MouseModeEnum.Captured
|
||||
? Input.MouseModeEnum.Visible
|
||||
|
|
|
|||
Loading…
Reference in a new issue