Skip to content

Preserve integer type during variable operations - #2819

Open
shadow64 wants to merge 1 commit into
dialogic-godot:mainfrom
shadow64:fix-integer-variable-operation
Open

shadow64 wants to merge 1 commit into
dialogic-godot:mainfrom
shadow64:fix-integer-variable-operation

Conversation

@shadow64

@shadow64 shadow64 commented Oct 2, 2026

Copy link
Copy Markdown

Fixes #2756: Variable Event converts integers to floats.

Update completes the operation, but preserves the original variable's integer type. Warns the user if the conversion would discard the decimal part of the result.

Proposed fix for dialogic-godot#2756: Variable Event converts integers to floats. 

Update completes the operation, but preserves the original variable's integer type. Warns the user if the conversion would discard the decimal part of the result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable Event converts integers to floats

1 participant