tweaks to chest center of mass and playlist loader

This commit is contained in:
derek
2025-03-10 16:54:17 -05:00
parent f8eb44c3b2
commit a72c62b760
2 changed files with 2 additions and 1 deletions

View File

@@ -372,6 +372,7 @@ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0,
collision_layer = 32
collision_mask = 109
mass = 45.0
center_of_mass_mode = 1
continuous_cd = true
script = ExtResource("1_0qjnf")
weapon_drops = Array[Resource]([ExtResource("2_fw6eu"), ExtResource("3_vrqjr"), ExtResource("4_45tks"), ExtResource("5_koj0g"), ExtResource("6_plk4s"), ExtResource("7_t1qyn")])

View File

@@ -6,7 +6,7 @@ var portals = []
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if GameGlobals.current_match == [] or GameGlobals.current_match == null:
if GameGlobals.current_match[GameGlobals.current_round_id] == [] or GameGlobals.current_match[GameGlobals.current_round_id] == null:
playlist_generator.load_playlist()
print("CURRENT MATCH : ",GameGlobals.current_match)