| 48 | } |
| 49 | |
| 50 | void ScriptPane::tick(float dt) { |
| 51 | if (m_sourceEntityId != NullEntityId && !m_client->worldClient()->playerCanReachEntity(m_sourceEntityId)) |
| 52 | dismiss(); |
| 53 | |
| 54 | BaseScriptPane::tick(dt); |
| 55 | } |
| 56 | |
| 57 | PanePtr ScriptPane::createTooltip(Vec2I const& screenPosition) { |
| 58 | auto result = m_script.invoke<Json>("createTooltip", screenPosition); |
no test coverage detected