Skip to content

Fix typo on api/state 1st example#172

Open
CSefcek wants to merge 1 commit intoDragonRuby:mainfrom
CSefcek:main
Open

Fix typo on api/state 1st example#172
CSefcek wants to merge 1 commit intoDragonRuby:mainfrom
CSefcek:main

Conversation

@CSefcek
Copy link

@CSefcek CSefcek commented Jan 19, 2026

In the example the following line is mentioning twice the same variable (with the 'x'):

text: "player's x, y: #{args.state.player.x}, #{args.state.player.x}"

I've substituted the second variable with args.state.player.y so now the whole line is:

text: "player's x, y: #{args.state.player.x}, #{args.state.player.y}"

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.

1 participant