Donetsk/hook_lib/party.cpp
Sku-111 de9e878855 update
added discord rpc by jydenx
enabled functionality for friction dvar
added some stuff i forgot
2023-12-10 23:02:04 +01:00

15 lines
402 B
C++

#include "party.h"
#include "game_inc.h"
void PartyHost_StartPrivateParty_Detour(int localClientNum, int localControllerIndex, bool currentlyActive, int hostType)
{
partyhost_startprivateparty.stub<void>(localClientNum, localControllerIndex, currentlyActive, hostType);
static bool autoexec = false;
if (!autoexec)
{
Cbuf_AddText("exec autoexec.cfg");
LoadInventory();
autoexec = true;
}
}