diff --git a/central_message.lua b/central_message.lua index 24893e6..07b474b 100644 --- a/central_message.lua +++ b/central_message.lua @@ -1,4 +1,4 @@ -if (cmsg) then +if (core.global_exists("cmsg")) then function quests.show_message(t, playername, text) if (quests.hud[playername].central_message_enabled) then local player = core.get_player_by_name(playername)