| 126 | } |
| 127 | |
| 128 | void ScriptableUI::Dispose() { |
| 129 | ModLoading::Instance().DeRegisterCallback(this); |
| 130 | |
| 131 | as_context->CallScriptFunction(as_funcs.dispose); |
| 132 | |
| 133 | delete as_context; |
| 134 | delete hud_images; |
| 135 | } |
| 136 | |
| 137 | void ScriptableUI::Draw() { |
| 138 | as_context->CallScriptFunction(as_funcs.draw_gui); |
no test coverage detected