Skip to content

Fix ToggleDev event which was passing through wrong parameter#95

Merged
MonkeyWhisper merged 1 commit into
Project-Sloth:mainfrom
tofudeadeye:patch-2
Jan 21, 2024
Merged

Fix ToggleDev event which was passing through wrong parameter#95
MonkeyWhisper merged 1 commit into
Project-Sloth:mainfrom
tofudeadeye:patch-2

Conversation

@tofudeadeye
Copy link
Copy Markdown
Contributor

When enabling "dev" mode the expected coords + invincibility events aren't being executed. This is because data which has the value of toggleDevmode when first evaluated is replaced by the table from configuration.

That same data table is then forwarded on to other events which are performing the same check, although they are only expecting the original key to be sent.

Fix is simply forwarding the appropriate key to subsequent events.

@MonkeyWhisper MonkeyWhisper merged commit 121ae35 into Project-Sloth:main Jan 21, 2024
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.

2 participants