MrGVSV / bevy_proto

Create config files for entities in Bevy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix `ProtoCommands::remove` inserting instead of removing

MrGVSV opened this issue · comments

The ProtoCommands::remove method is using the wrong command:

pub fn remove<I: Into<T::Id>>(&mut self, id: I) {
self.add(ProtoInsertCommand::<T, C>::new(id.into(), None));
}