Remove point bonus for riddles answered after 24 hours
This commit is contained in:
@ -65,11 +65,6 @@ export async function loader({ context }: { context: RequestContext }) {
|
||||
|
||||
if (event.type === "gamenight" && event.reached_minimum_player_count)
|
||||
memberMap[event.created_by].points += 10;
|
||||
if (
|
||||
event.type === "rotw" &&
|
||||
event.answered_at - event.performed_at >= 86400000
|
||||
)
|
||||
memberMap[event.created_by].points += 10;
|
||||
}
|
||||
|
||||
return memberMap;
|
||||
|
Reference in New Issue
Block a user