Exposed more things to VScript, including vehicles, AI goal entities, and convars

This commit is contained in:
Blixibon
2020-05-27 10:51:11 -05:00
parent c12418e1ce
commit eb63b7b6a6
12 changed files with 253 additions and 3 deletions

View File

@@ -91,8 +91,9 @@ void CV_InitMod()
void CVEnt_Precache(CMapbaseCVarModEntity *modent)
{
if (Q_strstr(STRING(modent->m_target), "sv_allow_logic_convar"))
return;
// Now protected by FCVAR_NOT_CONNECTED
//if (Q_strstr(STRING(modent->m_target), "sv_allow_logic_convar"))
// return;
#ifdef MAPBASE_MP
if (gpGlobals->maxClients > 1 && !modent->m_bUseServer)