Skip to content

Commit 0ee538b

Browse files
committed
fixed crash
1 parent 3e17d89 commit 0ee538b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/ctf/ctf_modebase/ranking_commands.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ minetest.register_chatcommand("bounty", {
248248
time_diff % 60)
249249
end
250250

251-
ctf_modebase.bounties.set_player(pname, team, score, name)
251+
ctf_modebase.bounties.set_player(pname, team, { bounty_kills=1, score=score }, name)
252252
current_mode.recent_rankings.add(name, {score=-score}, true)
253253

254254
bounty_timer[name] = os.time()

0 commit comments

Comments
 (0)