no feedback if empty

This commit is contained in:
Aaron Kimbre 2024-06-03 22:51:46 -05:00
parent 3f22bf5cc0
commit ff38503597

View File

@ -326,7 +326,6 @@ namespace GMGreaterThanZeroCommands {
void Spectate(Entity* entity, const SystemAddress& sysAddr, const std::string args) {
if (args.empty()) {
GameMessages::SendForceCameraTargetCycle(entity, false, eCameraTargetCyclingMode::DISALLOW_CYCLING, entity->GetObjectID());
GameMessages::SendSlashCommandFeedbackText(entity, u"No player Given");
return;
}