sm64coopdx/mods/char-select-cjes-and-vl/a-constants.lua
Brobgonal Second a81d8fde26 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.'
2024-10-22 17:23:30 +10:00

16 lines
527 B
Lua

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