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 setting disabling by LUA for non-Host players #1663

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

Flamefire
Copy link
Member

The lua script was only loaded for the host as many function are intended for the host, especially the lobbyController.
Load for all players and guard relevant parts for the host only.

Fixes #1660

@Flamefire Flamefire force-pushed the fixplayerlua branch 3 times, most recently from 4effa4e to bf62bb9 Compare May 17, 2024 15:12
@Flamefire Flamefire force-pushed the fixplayerlua branch 3 times, most recently from bdd52dd to 9df585b Compare May 29, 2024 12:30
@Flamefire Flamefire force-pushed the fixplayerlua branch 3 times, most recently from e2a97f3 to 3a7441a Compare May 31, 2024 18:56
@Flamefire Flamefire requested a review from Flow86 June 6, 2024 17:34
@Flamefire Flamefire enabled auto-merge June 24, 2024 12:15
auto-merge was automatically disabled June 28, 2024 17:34

Pull Request is not mergeable

Makes the code more readable by removing the need to check for existing
lua script each time.
The lua script was only loaded for the host as many function are
intended for the host, especially the lobbyController.
Load for all players and guard relevant parts for the host only.

Fixes Return-To-The-Roots#1660
@Flamefire
Copy link
Member Author

@Flow86 Any idea what is wrong with Jenkins? It failed but the log is so large it doesn't even show properly

@Flamefire
Copy link
Member Author

@Flow86 Can you merge this? It needs a review approval which I can't do if I'm the author

@Flow86 Flow86 merged commit 5d1edef into Return-To-The-Roots:master Sep 3, 2024
12 of 14 checks passed
@Flamefire Flamefire deleted the fixplayerlua branch September 4, 2024 10:56
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.

[LUA] Some settings not correctly working in multiplayer
2 participants