Skip to content

Commit

Permalink
Update SlashCommandHandler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiernan-Alderman committed May 16, 2024
1 parent edc6ed6 commit ac44e37
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dGame/dUtilities/SlashCommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,8 @@ void GMZeroCommands::Help(Entity* entity, const SystemAddress& sysAddr, const st
feedback << it->second.aliases[i];
}
}
} else {
if (entity->GetGMLevel() > eGameMasterLevel::CIVILIAN) {
feedback << "Command " << std::quoted(args) << " does not exist!";
}
} else if (entity->GetGMLevel() > eGameMasterLevel::CIVILIAN) {
feedback << "Command " << std::quoted(args) << " does not exist!";
}
}
const auto feedbackStr = feedback.str();
Expand Down

0 comments on commit ac44e37

Please sign in to comment.