mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-13 09:16:15 +00:00
Merge pull request #2473 from FlightControl-Master/master
Update Database.lua
This commit is contained in:
@@ -1820,7 +1820,7 @@ function DATABASE:_EventOnPlayerEnterUnit( Event )
|
|||||||
|
|
||||||
if Event.IniDCSUnit then
|
if Event.IniDCSUnit then
|
||||||
-- Player entering a CA slot
|
-- Player entering a CA slot
|
||||||
if Event.IniObjectCategory == 1 and Event.IniGroup and Event.IniGroup:IsGround() then
|
if Event.IniObjectCategory == 1 and Event.IniUnit and Event.IniUnit:IsGround() then
|
||||||
|
|
||||||
local IsPlayer = Event.IniDCSUnit:getPlayerName()
|
local IsPlayer = Event.IniDCSUnit:getPlayerName()
|
||||||
if IsPlayer then
|
if IsPlayer then
|
||||||
|
|||||||
Reference in New Issue
Block a user