Skip to content

Commit

Permalink
break long line in donate description
Browse files Browse the repository at this point in the history
  • Loading branch information
lazylier committed Nov 3, 2024
1 parent 334fc53 commit ab9ce63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mods/ctf/ctf_modebase/ranking_commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ ctf_api.register_on_match_end(function()
end)

ctf_core.register_chatcommand_alias("donate", "d", {
description = "Donate your match score to your teammate\nCan be used only once in 2.5 minutes\nReplace <score> with :max or any negative number to donate the maximum amount",
description = [[Donate your match score to your teammate
Can be used only once in 2.5 minutes
Replace <score> with :max or any negative number to donate the maximum amount]],
params = "<name [name2 name3 ...]> <score> [message]",
func = function(name, param)
local current_mode = ctf_modebase:get_current_mode()
Expand Down

0 comments on commit ab9ce63

Please sign in to comment.