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

Fix calling forward server_changelevel() #45

Merged

Conversation

Nord1cWarr1or
Copy link
Contributor

https://www.amxmodx.org/api/amxmodx/server_changelevel

This is only called if the mod itself handles the map change. The
server command "changelevel", which is used by many plugins, will not
trigger this forward. Unfortunately, this means that in practice this
forward can be unreliable and will not be called in many situations.

AMXX 1.8.3 has added the engine_changelevel() function, which will utilize
the correct engine function to change the map, and therefore trigger
this forward.

@Nord1cWarr1or
Copy link
Contributor Author

@Mistrick ping

@Mistrick Mistrick merged commit 23c0b2a into Mistrick:master Sep 7, 2023
fred0r added a commit to fred0r/MapManagerModular that referenced this pull request Sep 9, 2023
scheduler: use engine_changelevel() (Mistrick#45)
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