Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/snippets/fix.7180.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Re-add missing `DummyUnit` import to `defaultunits.lua` needed for mod compatibility (specifically BrewLAN Research & Daiquiris) (#7180)
2 changes: 2 additions & 0 deletions lua/defaultunits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ ExternalFactoryUnit = import("/lua/sim/units/externalfactoryunit.lua").ExternalF
-------------------------------------------------------------------------------
--#region Backwards compatibility

DummyUnit = import("/lua/sim/unit.lua").DummyUnit

local Entity = import("/lua/sim/entity.lua").Entity
local Unit = import("/lua/sim/unit.lua").Unit
local explosion = import("/lua/defaultexplosions.lua")
Expand Down