From b30897f6ce662bf1de63a80858a9f7ddd89f4307 Mon Sep 17 00:00:00 2001 From: trv6 Date: Sun, 21 Aug 2022 16:46:07 -0400 Subject: [PATCH] Remove strings method Strings isn't required --- addons/libs/dialog.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/libs/dialog.lua b/addons/libs/dialog.lua index 6f2e16d59..02423389c 100644 --- a/addons/libs/dialog.lua +++ b/addons/libs/dialog.lua @@ -214,8 +214,8 @@ function dialog.open_dat_by_zone_id(zone_id, language) end local dat_path = windower.ffxi_path - if not dat_path:endswith('\\') then - dat_path = dat_path..'\\' + if sub(dat_path, -1, -1) ~= '\\' then + dat_path = dat_path .. '\\' end local path local vtable = dat_path .. 'VTABLE.DAT'