Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 2 files). Show all
Unified · Split
| @@ -68,6 +68,7 @@ EntityScriptServer::EntityScriptServer(ReceivedMessage& message) : ThreadedAssig · 67 unmodified lines | ||
| 68 | 68 | DependencyManager::set<ScriptCache>(); |
| 69 | 69 | DependencyManager::set<ScriptEngines>(ScriptEngine::ENTITY_SERVER_SCRIPT); |
| 70 | 70 | |
| 71 | + // Needed to ensure the creation of the DebugDraw instance on the main thread | |
| 71 | 72 | DebugDraw::getInstance(); |
| 72 | 73 | |
| 73 | 74 | auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver(); |