Skip to content

Commit

Permalink
Set usr when calling client's movement procs
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit committed Sep 15, 2023
1 parent 4c0f24a commit 573368c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions OpenDreamRuntime/DreamConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,15 +328,15 @@ public void HandleCommand(string fullCommand) {

switch (command) {
//TODO: Maybe move these verbs to DM code?
case ".north": Client?.SpawnProc("North"); break;
case ".east": Client?.SpawnProc("East"); break;
case ".south": Client?.SpawnProc("South"); break;
case ".west": Client?.SpawnProc("West"); break;
case ".northeast": Client?.SpawnProc("Northeast"); break;
case ".southeast": Client?.SpawnProc("Southeast"); break;
case ".southwest": Client?.SpawnProc("Southwest"); break;
case ".northwest": Client?.SpawnProc("Northwest"); break;
case ".center": Client?.SpawnProc("Center"); break;
case ".north": Client?.SpawnProc("North", Mob); break;
case ".east": Client?.SpawnProc("East", Mob); break;
case ".south": Client?.SpawnProc("South", Mob); break;
case ".west": Client?.SpawnProc("West", Mob); break;
case ".northeast": Client?.SpawnProc("Northeast", Mob); break;
case ".southeast": Client?.SpawnProc("Southeast", Mob); break;
case ".southwest": Client?.SpawnProc("Southwest", Mob); break;
case ".northwest": Client?.SpawnProc("Northwest", Mob); break;
case ".center": Client?.SpawnProc("Center", Mob); break;

default: {
if (_availableVerbs.TryGetValue(command, out var value)) {
Expand Down

0 comments on commit 573368c

Please sign in to comment.