Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set usr when calling client's movement procs #1469

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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