| 118 | } |
| 119 | |
| 120 | GameObject::~GameObject() |
| 121 | { |
| 122 | Debug::Log->debug("<GameObject> Deleting GameObject '{0}' ({1})", m_id, m_type); |
| 123 | if (m_hasScriptEngine) |
| 124 | { |
| 125 | m_environment = sol::lua_nil; |
| 126 | t_local.reset(); |
| 127 | m_triggers.removeNamespace(m_privateKey); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | void GameObject::sendInitArgFromLua( |
| 132 | const std::string& argName, sol::object value) const |
nothing calls this directly
no test coverage detected