Fixed a bug with the [CS] VL-Tone & Cjes Luigi mod (#383)

Fixed a bug with the [CS] VL-Tone & Cjes Luigi mod when enabled without the Character Select mod enabled would send a wrong error message would say 'Extra Characters requires Character Select to be enabled.' instead of '[CS] VL-Tone & Cjes Luigi requires Character Select to be enabled.'
This commit is contained in:
Brobgonal Second 2024-10-22 01:49:44 -05:00 committed by Isaac0-dev
parent e967e2cd1e
commit a81d8fde26

View file

@ -4,7 +4,7 @@ if not _G.charSelectExists then
if not first then if not first then
first = true first = true
play_sound(SOUND_MENU_CAMERA_BUZZ, gGlobalSoundSource) play_sound(SOUND_MENU_CAMERA_BUZZ, gGlobalSoundSource)
djui_chat_message_create("\\#ffffa0\\Extra Characters requires Character Select to be enabled.\nPlease rehost with it enabled.") djui_chat_message_create("\\#ffffa0\\[CS] VL-Tone & Cjes Luigi requires Character Select to be enabled.\nPlease rehost with it enabled.")
end end
end) end)
return return
@ -13,4 +13,4 @@ end
MOD_VERSION = "v4.1" MOD_VERSION = "v4.1"
E_MODEL_VL = smlua_model_util_get_id("vl_geo") E_MODEL_VL = smlua_model_util_get_id("vl_geo")
E_MODEL_CJES = smlua_model_util_get_id("cjes_geo") E_MODEL_CJES = smlua_model_util_get_id("cjes_geo")