mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 20:12:50 +02:00
change that will probably fix custom menus not showing
This commit is contained in:
@@ -253,7 +253,7 @@ void GameModel::BuildMenus()
|
||||
tempTool = new ElementTool(i, sim->elements[i].Name, sim->elements[i].Description, PIXR(sim->elements[i].Colour), PIXG(sim->elements[i].Colour), PIXB(sim->elements[i].Colour), sim->elements[i].Identifier, sim->elements[i].IconGenerator);
|
||||
}
|
||||
|
||||
if(sim->elements[i].MenuSection < 12 && sim->elements[i].MenuVisible)
|
||||
if(sim->elements[i].MenuSection < SC_TOTAL && sim->elements[i].MenuVisible)
|
||||
{
|
||||
menuList[sim->elements[i].MenuSection]->AddTool(tempTool);
|
||||
}
|
||||
|
Reference in New Issue
Block a user