Skip to content

Commit

Permalink
Update lua/sim/units/components/TransportUnitComponent.lua
Browse files Browse the repository at this point in the history
Co-authored-by: lL1l1 <82986251+lL1l1@users.noreply.github.com>
  • Loading branch information
clyfordv and lL1l1 authored Apr 18, 2024
1 parent 4360beb commit d74a461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/sim/units/components/TransportUnitComponent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ BaseTransport = ClassSimple {
for _, unit in self.cargoCache or {} do
if not unit:BeenDestroyed() then
unit.DeathWeaponEnabled = false -- Units at this point have no weapons for some reason. Trying to fire one crashes the game.
unit:OnKilled(self.killInstigator, "Normal", 0)
unit:OnKilled(self.killInstigator, "", 0)
end
end
end
Expand Down

0 comments on commit d74a461

Please sign in to comment.