1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-11-22 04:53:38 +00:00

Prevent vanish showing incorrect sheet on 1st tick

This commit is contained in:
dawnDus 2022-02-21 17:59:18 -05:00
parent 5ed2883954
commit 41bf965937
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -216,6 +216,8 @@ impl NPC {
npc.x = self.x;
npc.y = self.y;
npc.popup = self.popup;
npc.spritesheet_id = self.spritesheet_id;
npc.display_bounds = self.display_bounds;
*self = npc;
}