Donetsk/hook_lib/party.cpp
Sku-111 8fcf87e2d0 added some little stuff
removes "no work" string for Aniyah Incursion map
adds an unlock all cmd
and moved some code
2023-10-25 19:26:27 +02:00

13 lines
373 B
C++

#include "party.h"
#include "game_inc.h"
void PartyHost_StartPrivateParty_Detour(int localClientNum, int localControllerIndex, bool currentlyActive, int hostType)
{
Cbuf_AddText("exec autoexec.cfg");
partyhost_startprivateparty.stub<void>(localClientNum, localControllerIndex, currentlyActive, hostType);
LoadInventory();
Cbuf_AddText("set cl_textChatEnabled 1");
}