aboutsummaryrefslogtreecommitdiff
path: root/src/commands.rs
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-15 20:53:19 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-15 20:53:19 -0500
commit9e5f782eb228a6b050b01d5c4c82dba1399f7172 (patch)
tree2fe21e55d073b3ee5b31ef05c3e036bec71c2b03 /src/commands.rs
parenta1e9304dc31980703446bdb33246e314bafd3b15 (diff)
directory-aware navigation
Diffstat (limited to 'src/commands.rs')
-rw-r--r--src/commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.rs b/src/commands.rs
index 616f326..f203adc 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -89,7 +89,7 @@ impl Command for DirworldLockDoorCommand {
});
world.resource_mut::<DirworldTasks>().insert(
format!("Locking {:?}", self.path.file_name().unwrap()),
- task,
+ Some(task),
);
}
}
@@ -163,7 +163,7 @@ impl Command for DirworldUnlockDoorCommand {
});
world.resource_mut::<DirworldTasks>().insert(
format!("Unlocking {:?}", self.path.file_name().unwrap()),
- task,
+ Some(task),
);
}
}