Baseless/helpers/CreateRailSignalBase.lua

12 lines
202 B
Lua

function CreateRailSignalBase (type, prototype)
return CreateEntityWithHealth(
type,
MergeTables(
prototype,
{
animation = Baseless.RotatedAnimation,
}
)
)
end