forked from team-sg/hero-mark-2
no more restart :(
This commit is contained in:
parent
e25db2a638
commit
342e925f6b
4 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,6 @@ func _physics_process(delta: float) -> void:
|
|||
state_chart.send_event("in_range")
|
||||
if fmod(Game.time, 15.0) == 0.0:
|
||||
Audio.play_sound(Audio.a_grumble,Audio.ac_boss)
|
||||
print(hp)
|
||||
|
||||
|
||||
func start_push() -> void:
|
||||
|
|
|
@ -69,6 +69,7 @@ onready var hitbox: Area2D = $"%Hitbox"
|
|||
|
||||
# OVERRIDES #
|
||||
func _ready() -> void:
|
||||
Game.can_restart = true
|
||||
#set palette
|
||||
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
|
||||
sprite.material.set_shader_param("palette", palette)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue