prevent possible indicator error
This commit is contained in:
1 parent
d96195401d
commit
45bfa51c2d
1 file changed
+1
-1
@@ -1280,7 +1280,7 @@ local function onRender(t)
|
||||
end
|
||||
-- Only display the indicator for the primary (closest / crafting) description
|
||||
if EID.lastDescriptionEntity and not displayedCrafting then
|
||||
EID:renderIndicator(EID.lastDescriptionEntity, EID.controllerIndexes[player.ControllerIndex])
|
||||
EID:renderIndicator(EID.lastDescriptionEntity, EID.controllerIndexes[player.ControllerIndex] or 1)
|
||||
table.insert(EID.CachedIndicators, {EID.lastDescriptionEntity, EID.controllerIndexes[player.ControllerIndex]})
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user