kapraran / vu-debug-gui

A simple framework to easily create GUI debug controls for Venice Unleashed
MIT License
2 stars 0 forks source link

Gui doesn't reappear after reload #1

Closed tim-vu closed 3 years ago

tim-vu commented 3 years ago

As the title says, the gui doesn't reappear after reloading mods. Rejoining the game fixes this. I thought the issue might be caused due to the order in which the mods load, however after adding a dependency to vu-debug-gui the gui still doesn't reappear

kapraran commented 3 years ago

Maybe you are registering some controls after they've been requested by the client. I'll look into it but for now try calling DebugGUI:Show() after registering the controls.

kapraran commented 3 years ago

I updated the code, download it from here if you want the precompiled ui.vuic. Dont forget to copy the updated DebugGUI.lua file into you mod. Please let me know if this fixed your issue.