Enabling vscript_client.nut and vscript_server.nut (fixes issue with doc aliases)

This commit is contained in:
James Mitchell
2020-05-31 15:39:17 +10:00
parent 76db66f70a
commit 8316cf05ec
4 changed files with 18 additions and 17 deletions

View File

@@ -13,9 +13,7 @@
#include "characterset.h"
#include "isaverestore.h"
#include "gamerules.h"
#ifdef _WIN32
//#include "vscript_client_nut.h"
#endif
#include "vscript_client.nut"
#ifdef MAPBASE_VSCRIPT
#include "c_world.h"
#include "proxyentity.h"
@@ -405,13 +403,13 @@ bool VScriptClientInit()
IGameSystem::RegisterVScriptAllSystems();
RegisterSharedScriptFunctions();
#else
if ( scriptLanguage == SL_SQUIRREL )
{
//g_pScriptVM->Run( g_Script_vscript_client );
}
#endif
if (scriptLanguage == SL_SQUIRREL)
{
g_pScriptVM->Run( g_Script_vscript_client );
}
VScriptRunScript( "mapspawn", false );
VMPROF_SHOW( pszScriptLanguage, "virtual machine startup" );