This commit is contained in:
svenvandevelde 2016-02-19 20:21:07 +01:00
parent 78efd51c2c
commit 0c657f00d8

View File

@ -339,8 +339,8 @@ trace.f( self.ClassName, UnitData )
end end
end end
self.Players[PlayerName].UnitName = UnitName self.Players[PlayerName].UnitName = UnitName
self.Players[PlayerName].UnitCoalition = Unit:getCoalition() self.Players[PlayerName].UnitCoalition = UnitData:getCoalition()
self.Players[PlayerName].UnitCategory = Unit:getCategory() self.Players[PlayerName].UnitCategory = UnitData:getCategory()
self.Players[PlayerName].UnitType = UnitData:getTypeName() self.Players[PlayerName].UnitType = UnitData:getTypeName()
end end