|
@@ -251,7 +251,7 @@ remote func add_sprite(anim, pos, id):
|
|
|
instancer.id = id
|
|
|
sprite_list[id] = instancer
|
|
|
sprite_list[id].global_position = pos
|
|
|
- sprite_list[id].set_animation(anim)
|
|
|
+ if sprite_list[id].get_animation() != anim: sprite_list[id].set_animation(anim)
|
|
|
|
|
|
remote func nuke_sprite(id):
|
|
|
if sprite_list.keys().has(id):
|