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] Replaces a number of deciseconds into SECONDS #2754

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1812
Original PR: tgstation/tgstation#82436

About The Pull Request

Using these search regexes:

Number ending in 0:
do_after\((\w+), (\d+)0,
Replace:
do_after($1, $2 SECONDS,

Single digit number:
do_after\((\w+), [1-9],
replace:
do_after($1, 0.$2 SECONDS,

Double:
do_after\((\w+), (\d)([1-9]),
Replace:
do_after($1, $2.$3 SECONDS,

Why It's Good For The Game

Code readability

* Replaces a number of deciseconds into SECONDS

* Update cable.dm

* Modular files find+replace

---------

Co-authored-by: Jeremiah <[email protected]>
Co-authored-by: Mal <[email protected]>
@Steals-The-PRs Steals-The-PRs added Mirroring conflict git cherry-pick во что-то уткнулся. Не ставить вручную, только для бота TG Mirror labels Apr 5, 2024
@Iajret Iajret merged commit 162dd21 into master Apr 6, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1812 branch April 6, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mirroring conflict git cherry-pick во что-то уткнулся. Не ставить вручную, только для бота TG Mirror
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants