mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixing hit problem in multi player for database when hitting static objects.
This commit is contained in:
parent
bfb11b6f79
commit
bd290ffdab
@ -1330,7 +1330,7 @@ end
|
|||||||
-- What is he hitting?
|
-- What is he hitting?
|
||||||
if Event.TgtCategory then
|
if Event.TgtCategory then
|
||||||
|
|
||||||
if Event.IniCoalition then -- A coalition object was hit, probably a static.
|
if Event.WeaponCoalition then -- A coalition object was hit, probably a static.
|
||||||
-- A target got hit
|
-- A target got hit
|
||||||
self.HITS[Event.TgtUnitName] = self.HITS[Event.TgtUnitName] or {}
|
self.HITS[Event.TgtUnitName] = self.HITS[Event.TgtUnitName] or {}
|
||||||
local Hit = self.HITS[Event.TgtUnitName]
|
local Hit = self.HITS[Event.TgtUnitName]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user