Merge pull request #448 from FlightControl-Master/bugfix-447-crash-caused-by-client-destroy

Bugfix 447 crash caused by client destroy
This commit is contained in:
Andrew Finegan
2017-04-20 13:24:02 -04:00
committed by GitHub

View File

@@ -598,7 +598,7 @@ function SCORING:_AddPlayerFromUnit( UnitData )
end
if self.Players[PlayerName].Penalty > self.Fratricide then
UnitData:Destroy()
--UnitData:Destroy()
MESSAGE:New( "Player '" .. PlayerName .. "' committed FRATRICIDE, he will be COURT MARTIALED and is DISMISSED from this mission!",
10
):ToAll()