diff --git a/src/world.rs b/src/world.rs index 6ed7126..154bbd6 100644 --- a/src/world.rs +++ b/src/world.rs @@ -384,11 +384,12 @@ impl ParserState { goto: self.goto.clone(), } } - fn spawn_chatbranch(&self, commands: &mut Commands) { + fn spawn_chatbranch(&mut self, commands: &mut Commands) { if self.stores_item { debug!("{:#?}", self.as_chatbranch()); commands.spawn(self.as_chatbranch()); } + self.reset_message(); } }