gitflow-hotfix-stash: deconThreadError

This commit is contained in:
Cooldude2606
2019-01-19 14:20:47 +00:00
parent c31bca9dba
commit 2ed80fcce7
2 changed files with 3 additions and 2 deletions

View File

@@ -27,8 +27,8 @@ end)
function Admin.kick(player,by_player,reason)
player = Game.get_player(player)
reason = Admin.create_reason(reason,by_player_name)
local by_player_name = Game.get_player(by_player) and Game.get_player(by_player).name or '<server>'
reason = Admin.create_reason(reason,by_player_name)
if Sync then Sync.emit_embedded{
title='Player Kick',
color=Color.to_hex(defines.textcolor.high),