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

BotManagerInterface.as: change required for Sven Co-op 5.26 #17

Open
Outerbeast opened this issue Aug 29, 2024 · 2 comments
Open

BotManagerInterface.as: change required for Sven Co-op 5.26 #17

Outerbeast opened this issue Aug 29, 2024 · 2 comments

Comments

@Outerbeast
Copy link

BotManagerInterface.as Line 806 needs to be changed to this: HookReturnCode MapChange(const string& in sLevel)

From SC 5.26 Changelog:

  • Hook "MapChange" now receives a string to reveal which map the server is about to change to, or empty if the server is shutting down.
    ALL scripts listening for this "MapChange" event will need an update. Just add a parameter for a string to receive the new map.

Cheers

@rcbotCheeseh
Copy link
Owner

@Adambean
Copy link

Changing MapChange() hooks to HookReturnCode MapChange(string nextMap) will do.

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

No branches or pull requests

3 participants