Skip to content

Commit

Permalink
distribute rewards immediately at roundend
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Feb 11, 2025
1 parent 2a9d3d5 commit 8db934c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/__HELPERS/roundend.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ GLOBAL_LIST_INIT(round_end_images, world.file2list("data/image_urls.txt")) // MO

INVOKE_ASYNC(world, TYPE_PROC_REF(/world, flush_byond_tracy)) // monkestation edit: byond-tracy

// monkestation edit: distribute monkecoin rewards
distribute_rewards()
CHECK_TICK
// monkestation end

for(var/datum/callback/roundend_callbacks as anything in round_end_events)
roundend_callbacks.InvokeAsync()
LAZYCLEARLIST(round_end_events)
Expand Down Expand Up @@ -302,7 +307,6 @@ GLOBAL_LIST_INIT(round_end_images, world.file2list("data/image_urls.txt")) // MO
// monkestation start: token backups, monkecoin rewards, challenges, and roundend webhook
save_tokens()
refund_cassette()
distribute_rewards()
sleep(5 SECONDS)
ready_for_reboot = TRUE
var/datum/discord_embed/embed = format_roundend_embed("<@&999008528595419278>")
Expand Down

0 comments on commit 8db934c

Please sign in to comment.