This commit is contained in:
FlightControl
2019-03-21 06:57:04 +01:00
parent b1e99dc317
commit 9856a8625d
3 changed files with 12 additions and 8 deletions

View File

@@ -142,6 +142,7 @@ do -- Goal
-- @param #GOAL self
-- @param #string PlayerName The name of the player.
function GOAL:AddPlayerContribution( PlayerName )
self:F({PlayerName})
self.Players[PlayerName] = self.Players[PlayerName] or 0
self.Players[PlayerName] = self.Players[PlayerName] + 1
self.TotalContributions = self.TotalContributions + 1