Fixed crash on /regular when player was already a regular

This commit is contained in:
Valansch
2017-09-03 20:13:50 +02:00
parent 38c10bdeb9
commit 5adc78f349
+1 -1
View File
@@ -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.")