Skip to content

Commit

Permalink
Merge pull request #149 from photonle/fix/creator_siren
Browse files Browse the repository at this point in the history
Hotfix: Express creator siren
  • Loading branch information
ischmal authored Jun 14, 2020
2 parents a348b03 + 6a8e54b commit 7d475a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/autorun/photon/cl_photon_toolmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ end
local function createSirenOptions()
list.Set("PhotonSirenOptions", "None", {photon_creator_siren = "0"})
local sirenTable = EMVU.GetSirenTable()
for _, siren in ipairs(sirenTable) do
list.Set("PhotonSirenOptions", siren.Category .. " - " .. siren.Name, {photon_creator_siren = tostring(i)})
for index, siren in ipairs(sirenTable) do
list.Set("PhotonSirenOptions", siren.Category .. " - " .. siren.Name, {photon_creator_siren = tostring(index)})
end
end

Expand Down

0 comments on commit 7d475a5

Please sign in to comment.