@@ -169,6 +169,7 @@ void CLuaMain::AddElementClass ( lua_State* luaVM )
169169 lua_classfunction ( luaVM, " isCallPropagationEnabled" , " isElementCallPropagationEnabled" );
170170 lua_classfunction ( luaVM, " isWaitingForGroundToLoad" , " isElementWaitingForGroundToLoad" );
171171 lua_classfunction ( luaVM, " isOnScreen" , " isElementOnScreen" );
172+ lua_classfunction ( luaVM, " isStreamedIn" , " isElementStreamedIn" );
172173 lua_classfunction ( luaVM, " isStreamable" , " isElementStreamable" );
173174 lua_classfunction ( luaVM, " isLocal" , " isElementLocal" );
174175 lua_classfunction ( luaVM, " isSyncer" , " isElementSyncer" );
@@ -226,6 +227,7 @@ void CLuaMain::AddElementClass ( lua_State* luaVM )
226227 lua_classvariable ( luaVM, " callPropagationEnabled" , " setElementCallPropagationEnabled" , " isElementCallPropagationEnabled" );
227228 lua_classvariable ( luaVM, " waitingForGroundToLoad" , NULL , " isElementWaitingForGroundToLoad" );
228229 lua_classvariable ( luaVM, " onScreen" , NULL , " isElementOnScreen" );
230+ lua_classvariable ( luaVM, " streamedIn" , NULL , " isElementStreamedIn" );
229231 lua_classvariable ( luaVM, " streamable" , " setElementStreamable" , " isElementStreamable" );
230232 lua_classvariable ( luaVM, " localElement" , NULL , " isElementLocal" );
231233 lua_classvariable ( luaVM, " id" , " setElementID" , " getElementID" );
@@ -2014,8 +2016,8 @@ bool CLuaMain::LoadScriptFromBuffer ( const char* cpInBuffer, unsigned int uiInS
20142016 g_pClientGame->TellServerSomethingImportant ( 1003 , SStringX ( " CLIENT SCRIPT ERROR: " ) + strMessage, false );
20152017 return false ;
20162018 }
2017-
2018- bool bUTF8 = CLuaShared::CheckUTF8BOMAndUpdate ( &cpBuffer, &uiSize );
2019+
2020+ bool bUTF8 = CLuaShared::CheckUTF8BOMAndUpdate ( &cpBuffer, &uiSize );
20192021
20202022 // If compiled script, make sure correct chunkname is embedded
20212023 CLuaShared::EmbedChunkName ( strNiceFilename, &cpBuffer, &uiSize );
0 commit comments