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