Skip to content

SHUTDOWN doesn't take effect immediately. #1120

@bfrobin446

Description

@bfrobin446

Based on Reddit discussion at https://www.reddit.com/r/Kos/comments/3g3nfq/this_very_short_script_i_wrote_to_abort_the_whole/ , SHUTDOWN takes effect only at the end of the physics tick where it executes.

The desired and intuitive behavior is for SHUTDOWN to immediately abort any code that's running, so the final state is deterministic.

Metadata

Metadata

Assignees

Labels

bugWeird outcome is probably not what the mod programmer expected.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions