summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-03-16 21:03:39 +0100
committerFedja Beader <fedja@protonmail.ch>2025-03-23 20:29:27 +0000
commit14a34ba36a1b57225ce06eb4c36a5d242c32d41d (patch)
tree6499fd306d80caab3958cf0df19e5fe31153daf6
parentfbbde8318d070ce77155f66309927576d3c7378f (diff)
downloadserverdata-14a34ba36a1b57225ce06eb4c36a5d242c32d41d.tar.gz
serverdata-14a34ba36a1b57225ce06eb4c36a5d242c32d41d.tar.bz2
serverdata-14a34ba36a1b57225ce06eb4c36a5d242c32d41d.tar.xz
serverdata-14a34ba36a1b57225ce06eb4c36a5d242c32d41d.zip
Nice scope block you got there %%I
-rw-r--r--npc/functions/clientversion.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 5cfa593d4..302a1c129 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1426,11 +1426,13 @@ function script checkclientversion {
mesc l("Please update manually, or use the [@@%s|Mana Launcher@@] if you're on Windows or Linux.", "https://tmw2.org/launcher");
mesc l("Alternatively, download a bleeding edge build at [@@https://manaplus.germantmw.de/|https://manaplus.germantmw.de/@@]");
next;
- if (ClientVersion >= 24) mesc l("Compatibility Support mode enabled. Client may crash AT RANDOM, beware.");
- if (ClientVersion >= 24) mesc l("Crazy stuff can happen in overall. YOU HAVE BEEN WARNED TO UPDATE YOUR CLIENT.");
- if (ClientVersion >= 24) next;
- if (ClientVersion >= 24) closeclientdialog;
- if (ClientVersion >= 24) return;
+ if (ClientVersion >= 24) {
+ mesc l("Compatibility Support mode enabled. Client may crash AT RANDOM, beware.");
+ mesc l("Crazy stuff can happen in overall. YOU HAVE BEEN WARNED TO UPDATE YOUR CLIENT.");
+ next;
+ closeclientdialog;
+ return;
+ }
mesc l("You won't be allowed to play this game until you have an updated client.");
next;
// Force user to disconnect