Hooked up exit button in launcher and updated RT64 to fix issue with the launcher not closing
This commit is contained in:
parent
098431d3e2
commit
15ce3b194d
|
@ -44,7 +44,7 @@
|
||||||
<div class="menu-list-item__bullet">•</div>
|
<div class="menu-list-item__bullet">•</div>
|
||||||
<div class="menu-list-item__label">Settings</div>
|
<div class="menu-list-item__label">Settings</div>
|
||||||
</button>
|
</button>
|
||||||
<button class="menu-list-item menu-list-item--right">
|
<button onclick="exit_game" class="menu-list-item menu-list-item--right">
|
||||||
<div class="menu-list-item__bullet">•</div>
|
<div class="menu-list-item__bullet">•</div>
|
||||||
<div class="menu-list-item__label">Exit</div>
|
<div class="menu-list-item__label">Exit</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a9a74b5c1975e081bc0a23f29545a0954f5a2f90
|
Subproject commit c4e3c89fe5c1d51caa664957469927fcee5a1129
|
|
@ -20,6 +20,11 @@ public:
|
||||||
recomp::set_current_menu(recomp::Menu::Config);
|
recomp::set_current_menu(recomp::Menu::Config);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
recomp::register_event(listener, "exit_game",
|
||||||
|
[](const std::string& param, Rml::Event& event) {
|
||||||
|
ultramodern::quit();
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
void make_bindings(Rml::Context* context) override {
|
void make_bindings(Rml::Context* context) override {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue