Return-To-The-Roots / s25client

Return To The Roots (Settlers II(R) Clone)
http://www.rttr.info
GNU General Public License v2.0
477 stars 75 forks source link

Fix setting disabling by LUA for non-Host players #1663

Closed Flamefire closed 1 month ago

Flamefire commented 4 months ago

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 https://github.com/Return-To-The-Roots/s25client/issues/1660

Flamefire commented 2 months ago

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

Flamefire commented 1 month ago

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