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

Remove invalid off-script in leaf_wind.stl #3129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Brockengespenst
Copy link
Contributor

The off script causes the game to crash, because door1-door6 do not exist in the level.

The off script causes the game to crash, because door1-door6 do not
exist in the level.
@Brockengespenst
Copy link
Contributor Author

Brockengespenst commented Dec 7, 2024

If last switch in like a leaf in the wind is triggered twice (which starts the off-script), the game crashes with

[SCRIPTING] AN ERROR HAS OCCURRED [the index 'door1' does not exist]
[SCRIPTING] CALLSTACK
[SCRIPTING] *FUNCTION [main()] switch[ 8000.000, 1376.000] line [1]
[SCRIPTING] LOCALS
[SCRIPTING] [vargv] ARRAY
[SCRIPTING] [this] TABLE

@Rusty-Box : I just removed the off-script from the switch, the other switches do not have an off script either. If you have different ideas of fixing this, I can delete this PR.

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