diff options
Diffstat (limited to 'src/purgatory.rs')
| -rw-r--r-- | src/purgatory.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/purgatory.rs b/src/purgatory.rs index 04024db..e5803d0 100644 --- a/src/purgatory.rs +++ b/src/purgatory.rs @@ -11,9 +11,7 @@ use crate::{ roomtemplate::RoomTemplate, systems::{ Move, - RegisterNew, ControlInput, - View, Remove, Create, Volate, @@ -29,14 +27,12 @@ pub fn purgatory_id() -> RoomId { pub fn create_purgatory<'a, 'b>(encyclopedia: &Encyclopedia) -> Room<'a, 'b> { let dispatcher = DispatcherBuilder::new() .with(Volate, "volate", &[]) - .with(RegisterNew::default(), "registernew", &[]) - .with(UpdateCooldowns, "cool_down", &["registernew"]) + .with(UpdateCooldowns, "cool_down", &[]) .with(ControlInput, "controlinput", &["cool_down"]) .with(ControlAI, "controlai", &["cool_down"]) .with(Move, "move", &["controlinput", "controlai"]) - .with(View::default(), "view", &["move", "volate"]) - .with(Create, "create", &["view"]) - .with(Remove, "remove", &["view", "move"]) + .with(Create, "create", &["move", "volate"]) + .with(Remove, "remove", &["volate", "move"]) .build(); let mut room = Room::new(purgatory_id(), encyclopedia.clone(), dispatcher); room.load_from_template(&RoomTemplate::from_json(&json!({ |
