From 86a905d7ddec65b7f85ca6b9933dfa362e13d014 Mon Sep 17 00:00:00 2001 From: iSk1P Date: Mon, 30 Dec 2024 01:33:16 +0200 Subject: [PATCH] small fix it will just return to online character slot one so it will fix the mpx nil error. --- YimMenu/Ultimate_Menu_For_YimMenu.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/YimMenu/Ultimate_Menu_For_YimMenu.lua b/YimMenu/Ultimate_Menu_For_YimMenu.lua index a110895..988c8c1 100644 --- a/YimMenu/Ultimate_Menu_For_YimMenu.lua +++ b/YimMenu/Ultimate_Menu_For_YimMenu.lua @@ -4,8 +4,10 @@ local function MPX() local PI = stats.get_int("MPPLY_LAST_MP_CHAR") if PI == 0 then return "MP0_" - else + elseif PI == 1 then return "MP1_" + else + return "MP0_" end end