This commit is contained in:
FlightControl_Master
2018-04-13 12:22:39 +02:00
parent 25ae0c3d15
commit 47dd73a377
7 changed files with 38 additions and 9 deletions

View File

@@ -858,7 +858,7 @@ function SCORING:OnEventBirth( Event )
if Event.IniUnit then
if Event.IniObjectCategory == 1 then
local PlayerName = Event.IniUnit:GetPlayerName()
if PlayerName ~= "" then
if PlayerName then
self:_AddPlayerFromUnit( Event.IniUnit )
self:SetScoringMenu( Event.IniGroup )
end