[Commands] Cleanup #resetaa and #resetaa_timer (#3047)

# Notes
- Cleanup messages and logic.
This commit is contained in:
Alex King
2023-03-05 22:34:21 -05:00
committed by GitHub
parent 218ef80f96
commit b6497cdd6a
2 changed files with 18 additions and 18 deletions
+4 -5
View File
@@ -7,15 +7,14 @@ void command_resetaa(Client *c, const Seperator *sep)
return;
}
auto target = c->GetTarget()->CastToClient();
target->ResetAA();
auto t = c->GetTarget()->CastToClient();
t->ResetAA();
c->Message(
Chat::White,
fmt::format(
"Successfully reset all Alternate Advancements for {}.",
c->GetTargetDescription(target)
c->GetTargetDescription(t)
).c_str()
);
}