Fix a regression from the ConCmdManager refactoring that causes a crash using SourceMod commands in the server console.
This commit is contained in:
parent
3c264d78bb
commit
bcd80d3e84
@ -136,9 +136,7 @@ void CommandCallback(DISPATCH_ARGS)
|
|||||||
EngineArgs args(command);
|
EngineArgs args(command);
|
||||||
|
|
||||||
AutoEnterCommand autoEnterCommand(&args);
|
AutoEnterCommand autoEnterCommand(&args);
|
||||||
if (g_ConCmds.InternalDispatch(sCoreProviderImpl.CommandClient(), &args))
|
g_ConCmds.InternalDispatch(sCoreProviderImpl.CommandClient(), &args);
|
||||||
RETURN_META(MRES_SUPERCEDE);
|
|
||||||
RETURN_META(MRES_IGNORED);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ConCmdInfo *ConCmdManager::FindInTrie(const char *name)
|
ConCmdInfo *ConCmdManager::FindInTrie(const char *name)
|
||||||
|
Loading…
Reference in New Issue
Block a user