Bind g_minimap.updateTile to lua
This is needed to update tile removals from minimap widget.
This commit is contained in:
parent
04515ffbb8
commit
ece6507df2
|
@ -146,6 +146,7 @@ void Client::registerLuaFunctions()
|
|||
g_lua.bindSingletonFunction("g_map", "findItemsById", &Map::findItemsById, &g_map);
|
||||
|
||||
g_lua.registerSingletonClass("g_minimap");
|
||||
g_lua.bindSingletonFunction("g_minimap", "updateTile", &Minimap::updateTile, &g_minimap);
|
||||
g_lua.bindSingletonFunction("g_minimap", "clean", &Minimap::clean, &g_minimap);
|
||||
g_lua.bindSingletonFunction("g_minimap", "loadImage", &Minimap::loadImage, &g_minimap);
|
||||
g_lua.bindSingletonFunction("g_minimap", "saveImage", &Minimap::saveImage, &g_minimap);
|
||||
|
|
Loading…
Reference in New Issue