Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes #376

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Some fixes #376

merged 2 commits into from
Mar 7, 2024

Conversation

estebanfer
Copy link
Contributor

InputString

Originally it was a copy of ImGui::InputText from imgui_stdlib.cpp and used to call the ImGui C function, but on the commit below, it started calling the function it was copied from, without removing the the previous code, making the assert to fail on debug and executing some unnecessary code
3b70edc#diff-1da18dbcb5bae1fe88bb2854c55ac61aa27b5afe3204a14fc975ad31460bc1c1R173

LuaConsole::execute

  • The dump_string function wasn't being called protected, crashing the game if there was an error on it
  • The current backend also wasn't getting pushed, so when dump_string tried to get an entity's user data, it couldn't get the backend and crashed (returned an unhandled error)

@Dregu Dregu merged commit 46e4655 into spelunky-fyi:main Mar 7, 2024
10 checks passed
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