mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 10:05:53 +00:00
Roguelike map
This commit is contained in:
parent
a005e3c480
commit
e1496c9228
18 changed files with 226 additions and 101 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using Godot;
|
||||
using System;
|
||||
using Cirno.Scripts.Enums;
|
||||
using Cirno.Scripts.UI;
|
||||
using Godot.Collections;
|
||||
|
||||
|
|
@ -55,8 +56,6 @@ public partial class MainMenu : CanvasLayer
|
|||
private void _on_start_button_pressed()
|
||||
{
|
||||
SpawnMenu<DifficultyMenu>(DifficultyMenuTemplate, SubMenuHolder);
|
||||
|
||||
return;
|
||||
|
||||
//GetTree().ChangeSceneToFile(GameScene);
|
||||
}
|
||||
|
|
@ -66,6 +65,7 @@ public partial class MainMenu : CanvasLayer
|
|||
if (GameScene == null) return;
|
||||
if (GlobalState.Instance.LoadGame())
|
||||
{
|
||||
GlobalState.Session.GameMode = GameMode.Game;
|
||||
GlobalState.Session.AllowSaving = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue