Fix Join count

This commit is contained in:
Natsumi
2021-10-01 10:23:16 +13:00
parent 76af949f01
commit 752c675611
2 changed files with 2 additions and 1 deletions

View File

@@ -787,7 +787,7 @@ class Database {
userId
};
}
}, `SELECT COUNT(*) FROM gamelog_join_leave WHERE user_id = '${userId}' OR display_name = '${displayName}'`);
}, `SELECT COUNT(*) FROM gamelog_join_leave WHERE (type = 'OnPlayerJoined') AND (user_id = '${userId}' OR display_name = '${displayName}')`);
return ref;
}
}