Fixed shield crash and material coloring

This commit is contained in:
gotfishmakesticks 2024-01-18 13:43:03 +03:00
commit 255a47f6da
7 changed files with 10 additions and 12 deletions

View file

@ -20,6 +20,7 @@ var wave_positions = [Vector2.ZERO,Vector2.ZERO,Vector2.ZERO,Vector2.ZERO,Vector
func _ready():
recharge_timer.timeout.connect(recharging_timer_out)
laser_timer.timeout.connect(laser_timer_out)
material = ship.material
func deal_damage(damage : float,hit_position : Vector2):
# Shield wave