Fix: Fix reload command (#332)

This commit is contained in:
iThorgrim
2025-10-26 13:49:39 +01:00
committed by GitHub
parent e2ec104fd8
commit 46527162d2

View File

@@ -47,7 +47,7 @@ bool ALE::OnCommand(ChatHandler& handler, const char* text)
{ {
std::string reload = text; std::string reload = text;
std::transform(reload.begin(), reload.end(), reload.begin(), ::tolower); std::transform(reload.begin(), reload.end(), reload.begin(), ::tolower);
if (reload.find("reload ALE") == 0) if (reload.find("reload ale") == 0)
{ {
ReloadALE(); ReloadALE();
return false; return false;