Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
fix colors table getting edited on round start
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaubeeree committed May 25, 2021
1 parent 3ee4c91 commit 9b61c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/moreroles/sv_gm_overwrites.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
local colorRounds = math.ceil(#GAMEMODE.GameData.PlayerTables / #GAMEMODE.Colors)

for round = 1, colorRounds do
local colors = GAMEMODE.Colors
local colors = table.Copy(GAMEMODE.Colors)
local slicedPlayers = {}
local lowerBound = 1 + (round - 1) * #GAMEMODE.Colors
local upperBound = round * #GAMEMODE.Colors
Expand Down

0 comments on commit 9b61c61

Please sign in to comment.