We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18f772c commit d3eef68Copy full SHA for d3eef68
1 file changed
src/engine/internal/engine.h
@@ -163,8 +163,8 @@ class Engine : public IEngine
163
std::unordered_map<std::string, std::vector<Script *>> m_whenKeyPressedScripts; // key name, "when key pressed" scripts
164
std::vector<std::string> m_extensions;
165
std::vector<Target *> m_executableTargets; // sorted by layer (reverse order of execution)
166
- std::unordered_map<Target *, std::vector<std::shared_ptr<VirtualMachine>>> m_runningScripts;
167
- std::unordered_map<Target *, std::vector<std::shared_ptr<VirtualMachine>>> m_newScripts;
+ TargetScriptMap m_runningScripts;
+ TargetScriptMap m_newScripts;
168
std::vector<VirtualMachine *> m_scriptsToRemove;
169
std::unordered_map<std::shared_ptr<Block>, std::shared_ptr<Script>> m_scripts;
170
std::vector<BlockFunc> m_functions;
0 commit comments