@@ -541,13 +541,13 @@ DEF_CONSOLE_CMD(ConResetCompany)
IConsolePrintF(_icolour_err, "Company does not exist. Company-id must be between 1 and %d.", MAX_PLAYERS);
return true;
}
/* Check if company does exist */
index--;
p = DEREF_PLAYER(index);
p = GetPlayer(index);
if (!p->is_active) {
IConsoleError("Company does not exist.");
if (p->is_ai) {