playlist now removes played scenes
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
@tool
|
||||
extends Node
|
||||
|
||||
@export var generate_playlist_now = false
|
||||
@@ -10,20 +9,6 @@ extends Node
|
||||
@export var rounds_per_match : int = 3
|
||||
@export var matches_per_year : int = 52
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if generate_playlist_now == true:
|
||||
generate_playlist()
|
||||
|
||||
if load_playlist_from_file == true:
|
||||
load_playlist()
|
||||
|
||||
|
||||
func generate_playlist() -> void:
|
||||
var playlist_name = only_valid_chars(GameGlobals.all_user_leaderboards[GameGlobals.user_id][GameGlobals.last_leaderboard_id])
|
||||
var playlist = []
|
||||
|
||||
Reference in New Issue
Block a user