Merge pull request 'bug arreglado' (#19) from feature/ia_automated_test into main
Android Debug APK / build (push) Successful in 40s
Android Debug APK / build (push) Successful in 40s
Reviewed-on: #19
This commit was merged in pull request #19.
This commit is contained in:
commit
4c4d52ef3d
1 file changed
+3
-17
@@ -97,11 +97,6 @@ enum AttackState {
|
||||
|
||||
@export_category("Respawn")
|
||||
|
||||
@export_category("Drops")
|
||||
|
||||
## Table defining what pickups can drop on death (by chance).
|
||||
@export var drop_table: PickupDropTable
|
||||
|
||||
|
||||
@export_category("Respawn")
|
||||
|
||||
@@ -176,21 +171,12 @@ func _ready() -> void:
|
||||
attack_hitbox.collision_mask = PLAYER_HURTBOX_MASK
|
||||
attack_hitbox.monitoring = true
|
||||
|
||||
if drop_table == null:
|
||||
var default_table = load("res://enemies/walker/walker_drop.tres")
|
||||
if default_table != null:
|
||||
drop_table = default_table
|
||||
|
||||
visibility_notifier.screen_entered.connect(_wake_up)
|
||||
if default_table != null:
|
||||
drop_table = default_table
|
||||
|
||||
visibility_notifier.screen_entered.connect(_wake_up)
|
||||
|
||||
if drop_table == null:
|
||||
var default_table := load("res://enemies/walker/walker_drop.tres")
|
||||
if default_table != null:
|
||||
drop_table = default_table as PickupDropTable
|
||||
drop_table = default_table
|
||||
|
||||
visibility_notifier.screen_entered.connect(_wake_up)
|
||||
|
||||
_update_facing()
|
||||
_reset_attack_hitbox_position()
|
||||
|
||||
Reference in new issue
Block a user