Skip to content

Commit

Permalink
some useful comments
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqkz committed May 21, 2023
1 parent 57cba5a commit 5e1e3a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mods/ctf/ctf_modebase/bounties.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ctf_modebase.bounties = {}
-- ^ This is for game's own bounties
ctf_modebase.contributed_bounties = {}
-- ^ This is for user contributed bounties
-- Saving format: player_name(str) equals to a table
-- The table has "total" which is the total contributed bounty
-- on player_name's head and "contributors" is a mapping of donater_name(str)
-- to donate_amount(number).

local function get_contributors(name)
local b = ctf_modebase.contributed_bounties[name]
Expand Down

0 comments on commit 5e1e3a8

Please sign in to comment.