Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b88f384

Browse files
committed
Whoops
1 parent 5ff2a24 commit b88f384

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Managers/LuaMan.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ namespace RTE {
326326
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
327327

328328
LuaStateWrapper * LuaMan::GetAndLockFreeScriptState() {
329-
RTEAssert(g_SettingsMan.GetEnableMultithreadedLua(), "Trying to use a threaded script state while multithreaded lua is disabled!")
330-
331329
if (s_luaStateOverride) {
332330
// We're creating this object in a multithreaded environment, ensure that it's assigned to the same script state as us
333331
bool success = s_luaStateOverride->GetMutex().try_lock();

0 commit comments

Comments
 (0)