1
0
mirror of https://github.com/TeTpaAka/quests.git synced 2025-01-22 07:50:49 +01:00

Fix global check

This commit is contained in:
Jordan Irwin 2025-01-17 23:02:59 -08:00 committed by TeTpaAka
parent 5b8dc33208
commit 7537024407

View File

@ -1,4 +1,4 @@
if (cmsg) then if (core.global_exists("cmsg")) then
function quests.show_message(t, playername, text) function quests.show_message(t, playername, text)
if (quests.hud[playername].central_message_enabled) then if (quests.hud[playername].central_message_enabled) then
local player = core.get_player_by_name(playername) local player = core.get_player_by_name(playername)