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