mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
correctly deleting GUI rects when changing trading screens
This commit is contained in:
@@ -33,7 +33,11 @@ namespace battleship{
|
||||
vector<Checkbox*> checkboxes{};
|
||||
vector<Slider*> sliders{};
|
||||
vector<Textbox*> textboxes{};
|
||||
vector<Node*> guiRects = guiManager->getGuiRectangles();
|
||||
vector<Node*> guiRects{
|
||||
guiManager->getGuiRectangle("refineds"),
|
||||
guiManager->getGuiRectangle("wealth"),
|
||||
guiManager->getGuiRectangle("research"),
|
||||
};
|
||||
vector<Text*> texts{
|
||||
guiManager->getText("depth"),
|
||||
guiManager->getText("refineds"),
|
||||
|
||||
Reference in New Issue
Block a user