This commit is contained in:
anyreso 2026-03-16 03:45:20 -04:00
parent a99473a35d
commit c75f17dfe9
2 changed files with 5 additions and 6 deletions

View file

@ -12,6 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
## Game
extends Node
## The list of available maps.
@ -21,13 +22,11 @@ extends Node
## The [Map] instance
@export var map:Map
## The [Environment] used to keep track of user [Settings].
## The environment used to keep track of user [Settings].
var environment := Environment.new()
signal exit
func change_scene_to_packed(packed:PackedScene) -> Node:
var tree:SceneTree = get_tree()
tree.change_scene_to_packed(packed)