mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
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:
commit
ece2d8a976
@ -598,7 +598,7 @@ function SCORING:_AddPlayerFromUnit( UnitData )
|
|||||||
end
|
end
|
||||||
|
|
||||||
if self.Players[PlayerName].Penalty > self.Fratricide then
|
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!",
|
MESSAGE:New( "Player '" .. PlayerName .. "' committed FRATRICIDE, he will be COURT MARTIALED and is DISMISSED from this mission!",
|
||||||
10
|
10
|
||||||
):ToAll()
|
):ToAll()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user