mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-14 10:23:17 +02:00
Seems like the last dev push reverted this change. Wtf are the devs doing.
This commit is contained in:
parent
bf2cb79137
commit
49e2a79bab
@ -545,7 +545,7 @@ local function ExpandPlayerListGui(player)
|
|||||||
name="playerList-panel",
|
name="playerList-panel",
|
||||||
direction = "vertical"}
|
direction = "vertical"}
|
||||||
ApplyStyle(scrollFrame, my_player_list_fixed_width_style)
|
ApplyStyle(scrollFrame, my_player_list_fixed_width_style)
|
||||||
scrollFrame.can_scroll_horizontally = false
|
scrollFrame.horizontal_scroll_policy = "never"
|
||||||
for _,player in pairs(game.connected_players) do
|
for _,player in pairs(game.connected_players) do
|
||||||
local caption_str = player.name.." ["..player.force.name.."]".." ("..formattime_hours_mins(player.online_time)..")"
|
local caption_str = player.name.." ["..player.force.name.."]".." ("..formattime_hours_mins(player.online_time)..")"
|
||||||
local text = scrollFrame.add{type="label", caption=caption_str, name=player.name.."_plist"}
|
local text = scrollFrame.add{type="label", caption=caption_str, name=player.name.."_plist"}
|
||||||
|
@ -475,7 +475,7 @@ function DisplaySharedSpawnOptions(player)
|
|||||||
ApplyStyle(shGui, my_fixed_width_style)
|
ApplyStyle(shGui, my_fixed_width_style)
|
||||||
shGui.style.maximal_width = SPAWN_GUI_MAX_WIDTH
|
shGui.style.maximal_width = SPAWN_GUI_MAX_WIDTH
|
||||||
shGui.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
shGui.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
||||||
shGui.can_scroll_horizontally = false
|
shGui.horizontal_scroll_policy = "never"
|
||||||
|
|
||||||
|
|
||||||
for spawnName,sharedSpawn in pairs(global.sharedSpawns) do
|
for spawnName,sharedSpawn in pairs(global.sharedSpawns) do
|
||||||
@ -590,7 +590,7 @@ function ExpandSpawnCtrlGui(player, tick)
|
|||||||
name="spwn_ctrl_panel", caption=""}
|
name="spwn_ctrl_panel", caption=""}
|
||||||
ApplyStyle(spwnCtrls, my_fixed_width_style)
|
ApplyStyle(spwnCtrls, my_fixed_width_style)
|
||||||
spwnCtrls.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
spwnCtrls.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
|
||||||
spwnCtrls.can_scroll_horizontally = false
|
spwnCtrls.horizontal_scroll_policy = "never"
|
||||||
|
|
||||||
if ENABLE_SHARED_SPAWNS then
|
if ENABLE_SHARED_SPAWNS then
|
||||||
if (global.uniqueSpawns[player.name] ~= nil) then
|
if (global.uniqueSpawns[player.name] ~= nil) then
|
||||||
|
Loading…
Reference in New Issue
Block a user