-
Notifications
You must be signed in to change notification settings - Fork 188
Create and Destroy! #2141
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
Create and Destroy! #2141
Conversation
…derlin into create_destroy
|
||
/obj/effect/statclick/proc/cleanup() | ||
SIGNAL_HANDLER | ||
qdel(src) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't just qdel this on the parent's destroy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, this is just a blind port from lemon gc fixes
@@ -468,6 +468,10 @@ GLOBAL_REAL(Master, /datum/controller/master) | |||
continue | |||
if ((SS_flags & (SS_TICKER|SS_KEEP_TIMING)) == SS_KEEP_TIMING && SS.last_fire + (SS.wait * 0.75) > world.time) | |||
continue | |||
if (SS.postponed_fires >= 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows the mc to postpone correctly tgstation/tgstation#59813
code/controllers/subsystem.dm
Outdated
@@ -96,7 +134,7 @@ | |||
return FALSE | |||
|
|||
if (queue_node_flags & SS_TICKER) | |||
if (!(SS_flags & SS_TICKER)) | |||
if (!(SS_flags & (SS_TICKER|SS_BACKGROUND)) == SS_TICKER) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was part of a fix batch for ticker and background subsystems conflicting, but I missed a fix for this change so I'm glad you commented
@@ -1,26 +1,25 @@ | |||
/atom | |||
/atom/movable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why, what if I want a particle emitter on a turf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the emitter procs and stuff are on movable they can be moved to atom later if someone wants to do that
Co-authored-by: grungussuss <[email protected]>
There may be some false positives sometimes but we can figure them out later |
we yolo ball |
This reverts commit 0872f08.
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- Note: PRs including balance changes authored by anyone other than maintainers and official devs will not be considered. --> ## About The Pull Request Fixes create and destroy: Fixes the hard deletes and qdel/init hints that stopped create and destroy from running. Fixes runtimes that occured during create and destory runs. Adds reference tracking and SSgarbage improvements. Port MC fixes. <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review or prevent the PR from being merged! --> ## Why It's Good For The Game <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> ## Pre-Merge Checklist <!-- Don't bother filling these in while creating your Pull Request, just click the checkboxes after the Pull Request is opened and you are redirected to the page. --> - [x] You tested this on a local server. - [x] This code did not runtime during testing. - [x] You documented all of your changes. <!-- Neither the compiler nor workflow checks are perfect at detecting runtimes and errors. It is important to test your code/feature/fix locally. --> --------- Co-authored-by: grungussuss <[email protected]>
About The Pull Request
Fixes create and destroy:
Fixes the hard deletes and qdel/init hints that stopped create and destroy from running.
Fixes runtimes that occured during create and destory runs.
Adds reference tracking and SSgarbage improvements.
Port MC fixes.
Why It's Good For The Game
Pre-Merge Checklist