s25client
s25client copied to clipboard
[LUA] Some settings not correctly working in multiplayer
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.