mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
bugfix
This commit is contained in:
parent
0c657f00d8
commit
e550af8801
@ -644,11 +644,11 @@ function DATABASE:ScoreAdd( PlayerName, ScoreType, ScoreTimes, ScoreAmount, Play
|
||||
|
||||
if PlayerUnit then
|
||||
if not PlayerUnitCategory then
|
||||
PlayerUnitCategory = DATABASECategory[Unit.getGroup(PlayerUnit):getCategory()]
|
||||
PlayerUnitCategory = DATABASECategory[PlayerUnit:getCategory()]
|
||||
end
|
||||
|
||||
if not PlayerUnitCoalition then
|
||||
PlayerUnitCoalition = DATABASECoalition[Unit.getGroup(PlayerUnit):getCoalition()]
|
||||
PlayerUnitCoalition = DATABASECoalition[PlayerUnit:getCoalition()]
|
||||
end
|
||||
|
||||
if not PlayerUnitType then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user