Skip to content

Commit

Permalink
sql again
Browse files Browse the repository at this point in the history
  • Loading branch information
wraith-54321 committed Dec 15, 2023
1 parent b40d2aa commit 270ca35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions monkestation/code/datums/meta_tokens.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ GLOBAL_LIST_INIT(patreon_etoken_values, list(
if(use_donor)
if(donator_token)
donator_token = FALSE
add_event_to_buffer(owner, data = "used donator token [owner.prefs.token_month].", log_key = "META")
owner.prefs.token_month = text2num(time2text(world.time, "MM"))
owner.prefs.save_preferences()
return
Expand Down Expand Up @@ -117,6 +118,7 @@ GLOBAL_LIST_INIT(patreon_etoken_values, list(
return

to_chat(owner, "Your request to play as [in_queue] has been approved.")
add_event_to_buffer(owner, data = "antag token for [in_queue] approved.", log_key = "META")
spend_antag_token(in_queued_tier, queued_donor)
if(!owner.mob.mind)
owner.mob.mind_initialize()
Expand All @@ -132,6 +134,7 @@ GLOBAL_LIST_INIT(patreon_etoken_values, list(
return

to_chat(owner, "Your request to play as [in_queue] has been denied.")
add_event_to_buffer(owner, data = "antag token for [in_queue] denied.", log_key = "META")
in_queue = null
in_queued_tier = null
queued_donor = FALSE
Expand Down

0 comments on commit 270ca35

Please sign in to comment.