mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
cleanup platform.cpp
This commit is contained in:
parent
240abb939f
commit
4c815db222
3 changed files with 29 additions and 19 deletions
|
|
@ -244,7 +244,7 @@ static int l_open_url(lua::State* L) {
|
|||
auto menu = engine->getGUI().getMenu();
|
||||
|
||||
guiutil::confirm(*engine, msg, [url, menu]() {
|
||||
platform::openURL(url);
|
||||
platform::open_url(url);
|
||||
if (!menu->back()) {
|
||||
menu->reset();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue