Skip to content

Commit 0040492

Browse files
committed
Fixed a bug where game would crash purchasing mixer wagons in the shop
1 parent e2607af commit 0040492

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

UniversalAutoload.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ function UniversalAutoload:onUpdate(dt, isActiveForInput, isActiveForInputIgnore
25462546

25472547
-- CHECK STATUS OF MIXER WAGONS
25482548
if spec.isBaleProcessor and self.spec_mixerWagon then
2549-
if self.spec_mixerWagon.baleTriggers then
2549+
if spec.loadedObjects ~= nil and self.spec_mixerWagon.baleTriggers then
25502550

25512551
local fillTypes = self.spec_mixerWagon.fillTypeToMixerWagonFillType
25522552
local totalFillLevel = self.spec_fillUnit.fillUnits[1].fillLevel

modDesc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modDesc descVersion="80">
33

44
<author>loki_79</author>
5-
<version>1.5.2.0</version>
5+
<version>1.5.2.1</version>
66

77
<title>
88
<en>Universal Autoload</en>

0 commit comments

Comments
 (0)