Skip to content

restart using love.event.restart - #26

Open
redsti-github wants to merge 1 commit into
BeatblockTools:mainfrom
redsti-github:better-restart
Open

restart using love.event.restart#26
redsti-github wants to merge 1 commit into
BeatblockTools:mainfrom
redsti-github:better-restart

Conversation

@redsti-github

Copy link
Copy Markdown
Contributor

Also exposes bbp.utils.restartNow() for other mods to use.

@K4kadu

K4kadu commented Aug 22, 2026

Copy link
Copy Markdown
Member

this works great, I'm not convinced that we should add that utils function though

@redsti-github

redsti-github commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

Actually, i was leaning towards removing BBP_dorestart. Why do we need to wait until love.update to queue the restart?
Iirc, love will only process the event once love.update / love.draw returns.

(I've updated the PR now to do that)

@redsti-github
redsti-github force-pushed the better-restart branch 2 times, most recently from 436c6cb to 58a8f5b Compare August 22, 2026 12:56
@redsti-github

Copy link
Copy Markdown
Contributor Author

P.S. please ignore the fact it took me three attempts to correctly force push the changes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants