Decrement Int node substracts "0" instead of "1"

Branch:

Binary Build 4.8.3

Description

Decrement Int substracts “0” instead of “1”.

Repro Steps

Action 1 Add new integer variable

Action 2 Print out variable

Action 3 Add decrement int node on variable

Action 4 Print out variable

Quick fix:

Change value on decrement node from “0” to “1”.

Is there a node called decrement or are you referring to - (subtract) node? I’ve never had an issue subtracting integers using - node.

This will be fixed in 4.9.

They are already aware of issue and have fixed it internally, but it is considered a major change due to things that reference it so it can’t be included in a hotfix.

Believe me, I already went down this road.

Hey freakxnet,

Allar is correct, and this fix should be included in 4.9. If you’d like to stick with 4.8, it’s a relatively simple fix in Blueprints, as described here: