mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
Make more Lua tool properties trigger a menu rebuild
Turns out GameView needs to be told about every single thing, oops.
This commit is contained in:
@@ -336,10 +336,10 @@ static int property(lua_State *L)
|
||||
}
|
||||
return false;
|
||||
};
|
||||
if (handleProperty(&SimTool::Name , "Name" , false) ||
|
||||
handleProperty(&SimTool::Description, "Description", false) ||
|
||||
handleProperty(&SimTool::Colour , "Colour" , false) ||
|
||||
handleProperty(&SimTool::Colour , "Color" , false) ||
|
||||
if (handleProperty(&SimTool::Name , "Name" , true) ||
|
||||
handleProperty(&SimTool::Description, "Description", true) ||
|
||||
handleProperty(&SimTool::Colour , "Colour" , true) ||
|
||||
handleProperty(&SimTool::Colour , "Color" , true) ||
|
||||
handleProperty(&SimTool::MenuSection, "MenuSection", true) ||
|
||||
handleProperty(&SimTool::MenuVisible, "MenuVisible", true))
|
||||
{
|
||||
|
Reference in New Issue
Block a user