Improved it

This commit is contained in:
FlightControl
2016-07-08 18:02:22 +02:00
parent e8a7200de7
commit 40a9c1f7d1
7 changed files with 121 additions and 74 deletions

View File

@@ -75,7 +75,6 @@ function PROCESS:OnStateChange( Fsm, Event, From, To )
if self.Scores[To] then
MESSAGE:New( "Score:" .. self.Scores[To].ScoreText .. " " .. To , 15 ):ToGroup( self.ProcessUnit:GetGroup() )
local Scoring = self.Task:GetScoring()
if Scoring then
Scoring:_AddMissionTaskScore( self.Task.Mission, self.ProcessUnit, self.Scores[To].ScoreText, self.Scores[To].Score )