Apply suggestions from code review

Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
This commit is contained in:
Maschell 2025-02-03 19:38:44 +01:00 committed by GitHub
parent e2cf529b3f
commit 429d55ba9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ static void Inkay_Initialize(bool apply_patches) {
return;
if (Config::block_initialize) {
ShowNotification("Failed to init Inkay. Please restart the console to use Pretendo");
ShowNotification("Cannot load Inkay while the system is running. Please restart the console");
return;
}
@ -218,7 +218,7 @@ WUMS_ALL_APPLICATION_STARTS_DONE() {
if (Config::initialized && !Config::plugin_is_loaded) {
DEBUG_FUNCTION_LINE("Inkay is running but the plugin got unloaded");
if (!Config::block_initialize) {
ShowNotification("Inkay module is still running. Please restart the console to disable Pretendo.");
ShowNotification("Inkay module is still running. Please restart the console");
}
Config::shown_uninitialized_warning = true;
} else if (!Config::initialized && !Config::shown_uninitialized_warning) {