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:
parent
5ed2883954
commit
41bf965937
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue