Fixed the build

This commit is contained in:
Melvin Weiß 2025-09-23 18:46:21 +02:00
parent 0020947533
commit e37c27a280
3 changed files with 3 additions and 3 deletions

View file

@ -119,6 +119,6 @@ func die():
get_tree().change_scene_to_file("res://ui/victory_screen/victory_screen.tscn")
queue_free()
func _on_enemy_hurtbox_damage_taken(_damage, _dir) -> void:
func _on_enemy_hurtbox_damage_taken(_damage, _dir, _id) -> void:
if dead: return
$AudioStreamPlayer2D.play()

View file

@ -1,6 +1,6 @@
class_name ItemSpawn extends Node2D
static var item_pool : ItemPool = ResourceLoader.load("res://items/generic/item_pool.tres","ItemPool",ResourceLoader.CACHE_MODE_IGNORE)
static var item_pool = ResourceLoader.load("res://items/generic/item_pool.tres","",ResourceLoader.CACHE_MODE_IGNORE)
@export var rarity_bonus : float = 0
@export var guarantee_rare : bool = false

View file

@ -1,7 +1,7 @@
extends Node2D
func _ready() -> void:
ItemSpawn.item_pool = ResourceLoader.load("res://items/generic/item_pool.tres","ItemPool",ResourceLoader.CACHE_MODE_IGNORE)
ItemSpawn.item_pool = ResourceLoader.load("res://items/generic/item_pool.tres","",ResourceLoader.CACHE_MODE_IGNORE)
func get_grid() -> Grid:
return $Grid