From 5adc78f3498d9f71412a6e65c3ca59f0c71d9382 Mon Sep 17 00:00:00 2001 From: Valansch Date: Sun, 3 Sep 2017 20:13:50 +0200 Subject: [PATCH] Fixed crash on /regular when player was already a regular --- user_groups.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_groups.lua b/user_groups.lua index 4b758149..3b178537 100644 --- a/user_groups.lua +++ b/user_groups.lua @@ -17,7 +17,7 @@ end function add_regular(player_name) local actor = get_actor() - if is_regular(player_name) then player_print.print(player_name .. " is already a regular.") + if is_regular(player_name) then player_print(player_name .. " is already a regular.") else if game.players[player_name] then game.print(actor .. " promoted " .. player_name .. " to regular.")