s25client icon indicating copy to clipboard operation
s25client copied to clipboard

[LUA] Some settings not correctly working in multiplayer

Open Spikeone opened this issue 1 year ago • 0 comments

Using this setting:

function getAllowedChanges()
    return  {
        ["general"]     = true,
        ["addonsAll"]   = false,
        ["addonsSome"]  = true,
        ["ownNation"]   = true,
        ["ownColor"]    = true,
        ["ownTeam"]     = false,
        ["aiNation"]    = false,
        ["aiColor"]     = true,
        ["aiTeam"]      = false,
        ["swapping"]    = true,
        ["playerState"] = false,
        ["aiNation"]    = false
    }
end

does work fine for the host player in multiplayer - sadly the ownTeam seems to not affect any other player than the host. Same goes for the

function isMapPreviewEnabled()
    return false;
end

which works fine for the host - but no client.

grafik

Spikeone avatar Apr 22 '24 17:04 Spikeone