Fix pre-existing lint errors blocking the new CI gate
A too-long line in console.gd and trailing whitespace in matador_spawn.gd predate this branch but fail gdlint, which the new CI runs on every push. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CmG3mQGVXZUPDVapmdbWZ1
This commit is contained in:
@@ -34,25 +34,25 @@ func _spawn() -> void:
|
||||
# Matadors are assigned to a random subset of spawn points each wave and enter staggered.
|
||||
func _start_next_wave() -> void:
|
||||
_wave += 1
|
||||
|
||||
|
||||
# 8 waves total.
|
||||
if _wave > DP.f("mat_wave_size"):
|
||||
return
|
||||
|
||||
|
||||
# Wave 1 = 1 matador, Wave 2 = 2, ... Wave 8 = 8.
|
||||
var count := _wave
|
||||
|
||||
|
||||
# Shuffle the spawn points so the spawn locations are random.
|
||||
var points: Array[Node3D] = _spawn_points.duplicate()
|
||||
points.shuffle()
|
||||
|
||||
|
||||
for i in range(count):
|
||||
# Reuse spawn points when we have more matadors than points.
|
||||
var sp: Node3D = points[i % points.size()]
|
||||
|
||||
|
||||
var m := _spawn_at(sp.global_position)
|
||||
m.call_deferred(&"enter_spawn_roll", Vector3.ZERO)
|
||||
|
||||
|
||||
if i < count - 1:
|
||||
await get_tree().create_timer(
|
||||
DP.f("mat_spawn_stagger")
|
||||
|
||||
Reference in New Issue
Block a user