Skip to content

Fix global variables not being able to be used inside of a foreach$ loop#327

Merged
Azaezel merged 1 commit into
TorqueGameEngines:Preview4_0from
lukaspj:fix/interpreter-foreach
Oct 3, 2020
Merged

Fix global variables not being able to be used inside of a foreach$ loop#327
Azaezel merged 1 commit into
TorqueGameEngines:Preview4_0from
lukaspj:fix/interpreter-foreach

Conversation

@lukaspj
Copy link
Copy Markdown
Contributor

@lukaspj lukaspj commented Oct 2, 2020

This has been a bug since the old GG interpreter. Probably since foreach$ was introduced. You can now use foreach$ with globals.

Original PR from GarageGames repo:
GarageGames/Torque3D#2361

@lukaspj lukaspj added bug Something isn't working C++ Issue is engine code specific labels Oct 3, 2020
@lukaspj
Copy link
Copy Markdown
Contributor Author

lukaspj commented Oct 3, 2020

I can confirm that the issue exists, and this PR fixes it.

@Azaezel Azaezel merged commit 6dedf63 into TorqueGameEngines:Preview4_0 Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working C++ Issue is engine code specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants