From 9e5f782eb228a6b050b01d5c4c82dba1399f7172 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sat, 15 Feb 2025 20:53:19 -0500 Subject: directory-aware navigation --- src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.rs') 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::().insert( format!("Locking {:?}", self.path.file_name().unwrap()), - task, + Some(task), ); } } @@ -163,7 +163,7 @@ impl Command for DirworldUnlockDoorCommand { }); world.resource_mut::().insert( format!("Unlocking {:?}", self.path.file_name().unwrap()), - task, + Some(task), ); } } -- cgit v1.2.3