Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Makes achievements_score query database for count #602

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#24971
Original PR: tgstation/tgstation#79597

Instead of /datum/award/score/achievements_score counting achievement datums in-game and trying to keep up with what the database has we now just query the database for its current count of unlocked achievements by overriding the procs the achievements panel builds data from. This avoids cases like #79555.

Count is still loaded to achievement data datum so it can be saved at round end.

@ Time-Green

…E] (#24971)

* Makes achievements_score query database for count (#79597)

Instead of `/datum/award/score/achievements_score` counting achievement
datums in-game and trying to keep up with what the database has we now
just query the database for its current count of unlocked achievements
by overriding the procs the achievements panel builds data from. This
avoids cases like #79555.

Count is still loaded to achievement data datum so it can be saved at
round end.

@ Time-Green

* Makes achievements_score query database for count

---------

Co-authored-by: Jordie <[email protected]>
@Iajret Iajret merged commit d484ed5 into master Nov 13, 2023
23 checks passed
@Iajret Iajret deleted the upstream-mirror-24971 branch November 13, 2023 18:40
Iajret pushed a commit that referenced this pull request Jan 25, 2024
* Adds a missing check to `can_look_up` (#81087)

## About The Pull Request

`///Checks if the user is incapacitated or on cooldown.`.

Adds the "or on cooldown" part of the proc into the proc. 

## Changelog

:cl: Melbert
fix: Click CD applies to looking up and down correctly. 
/:cl:

* Adds a missing check to `can_look_up`

---------

Co-authored-by: MrMelbert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants