Skip to content

Conversation

adrientremblay
Copy link

Changed the logic slightly for DialogicVariableEvents to work and not print an error when an event tries to add a string to a string variable. The standard "Set Variable event failed because one value wasn't a float!" error will be printed if the user tries to add a non-string to a string variable.

Also updated the editor warnings to not show an error when a string is being added to a string.

My changes work, but feels slightly invasive/messy. Thoughts? I can try and clean it up.

fixes #2601

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.

+= operator does not work with strings but + does

1 participant