diff --git a/zone/gm_commands/damage.cpp b/zone/gm_commands/damage.cpp index 490253cad..fbe1242d5 100755 --- a/zone/gm_commands/damage.cpp +++ b/zone/gm_commands/damage.cpp @@ -8,9 +8,10 @@ void command_damage(Client *c, const Seperator *sep) return; } - Mob* target = c; - if (c->GetTarget()) { - target = c->GetTarget(); + Mob* target = c->GetTarget(); + if (!target) { + c->Message(Chat::White, "You must have a target to use #damage."); + return; } int64 damage = std::stoll(sep->arg[1], nullptr, 10);