diff --git a/maps/fish_defender/fish_defender.lua b/maps/fish_defender/fish_defender.lua index 2a8e2727..0a960aa4 100644 --- a/maps/fish_defender/fish_defender.lua +++ b/maps/fish_defender/fish_defender.lua @@ -139,6 +139,9 @@ local function add_fd_stats_button(player) end local function on_gui_click(event) + if not event.element.valid then + return + end if event.element.name ~= "fd-stats-button" then return end