mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
fix last commit
This commit is contained in:
parent
98b3a8fbf1
commit
d9ff838c80
2 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
|
||||||
static bool shownTriedToLoadDlls = false;
|
static bool shownTriedToLoadDlls = false;
|
||||||
if (!shownTriedToLoadDlls) {
|
if (!shownTriedToLoadDlls) {
|
||||||
shownTriedToLoadDlls = true;
|
shownTriedToLoadDlls = true;
|
||||||
if (Loader::get()->userTriedToLoadDLLs()) {
|
if (LoaderImpl::get()->userTriedToLoadDLLs()) {
|
||||||
auto popup = FLAlertLayer::create(
|
auto popup = FLAlertLayer::create(
|
||||||
"Hold up!",
|
"Hold up!",
|
||||||
"It appears that you have tried to <cr>load DLLs</c> with Geode. "
|
"It appears that you have tried to <cr>load DLLs</c> with Geode. "
|
||||||
|
|
|
@ -18,10 +18,10 @@ using namespace geode::prelude;
|
||||||
$execute {
|
$execute {
|
||||||
listenForSettingChanges("show-platform-console", +[](bool value) {
|
listenForSettingChanges("show-platform-console", +[](bool value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
Loader::get()->openPlatformConsole();
|
LoaderImpl::get()->openPlatformConsole();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Loader::get()->closePlatformConsole();
|
LoaderImpl::get()->closePlatformConsole();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue