Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Applevangelist committed Sep 27, 2024
2 parents b97a7cf + 68298fc commit 0d87785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Moose Development/Moose/Core/Event.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ function EVENT:onEvent( Event )
-- Scenery
---
Event.IniDCSUnit = Event.initiator
Event.IniDCSUnitName = Event.IniDCSUnit:getName()
Event.IniDCSUnitName = Event.IniDCSUnit.getName and Event.IniDCSUnit:getName() or "Scenery no name "..math.random(1,20000)
Event.IniUnitName = Event.IniDCSUnitName
Event.IniUnit = SCENERY:Register( Event.IniDCSUnitName, Event.initiator )
Event.IniCategory = Event.IniDCSUnit:getDesc().category
Expand Down

0 comments on commit 0d87785

Please sign in to comment.