TeslaCloud / flux-ce

Flux Community Edition (CE); A free and open-source Garry's Mod gamemode framework.
https://f.teslacloud.net
MIT License
26 stars 18 forks source link

Allowed full horizontal character selection to temporarily solve issue #22 #30

Closed garytate closed 5 years ago

garytate commented 5 years ago

Odd numbers cause the centring to be between two panels, instead, we should centre from the first four and add all extra to the right.

I've altered the code so that it fills the entirety of the horizontal space & fits eight characters - which should be more than enough for the majority.

This is only a temporary fix and will need to be given a full patch in the future - as this only supports eight characters before causing the index[1] character to go off the screen to the left, making them unplayable (compared to the previous four.)

If the player owns over 4 characters, they get cut-off/hidden in the character loading screen. #22