Unability to kill an enemy
ObaniGemini opened this issue · comments
In level_6 the lower enemy (a monkey) cannot be killed, I think it's because of some spikes but I thought I had removed them
Error :
SCRIPT ERROR: _on_Area2D_body_enter: Invalid get index 'velocity' (on base: 'StaticBody2D (spikes.gd)').
At: res://scripts/enemy_2.gd:80.
SCRIPT ERROR: _on_Area2D_body_enter: Invalid get index 'velocity' (on base: 'StaticBody2D (spikes.gd)').
At: res://scripts/enemy_2.gd:80.
@ObaniGemini ~ I think I fixed it in 1c09d53, please check again.
@bojidar-bg : it was fixed indeed. Thanks for your work :)