From fbccba95978f43f4e720c66dd21655b17b3fe65b Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sat, 14 Sep 2019 18:56:52 -0300
Subject: Update version

---
 npc/functions/clientversion.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'npc')

diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index bdae5759b..1ba227756 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -716,6 +716,7 @@ function	script	clientupdater	{
 }
 
 // Just be sure your client version is OK
+// NOTE: Current master client version is 26
 function	script	checkclientversion	{
     if (ClientVersion >= 25)
         return;
@@ -728,10 +729,10 @@ function	script	checkclientversion	{
     mesc l("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]");
     mesc l("Or use our awesome [@@https://tmw2.org/manalauncher/InstallManaLauncher.exe|Mana Launcher@@] if you're on Windows.");
     next;
-    if (ClientVersion >= 22) mesc l("Compatibility Support mode enabled. Client may crash AT RANDOM, beware.");
-    if (ClientVersion >= 22) mesc l("Crazy stuff can happen in overall. YOU HAVE BEEN WARNED TO UPDATE YOUR CLIENT.");
-    if (ClientVersion >= 22) closeclientdialog;
-    if (ClientVersion >= 22) return;
+    if (ClientVersion >= 23) mesc l("Compatibility Support mode enabled. Client may crash AT RANDOM, beware.");
+    if (ClientVersion >= 23) mesc l("Crazy stuff can happen in overall. YOU HAVE BEEN WARNED TO UPDATE YOUR CLIENT.");
+    if (ClientVersion >= 23) closeclientdialog;
+    if (ClientVersion >= 23) return;
     mesc l("You won't be allowed to play this game until you have an updated client.");
     next;
     // Force user to disconnect
-- 
cgit v1.2.3-70-g09d2