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

WAIT 0. freezes script/terminal #688

Closed
TDW89 opened this issue Mar 25, 2015 · 2 comments
Closed

WAIT 0. freezes script/terminal #688

TDW89 opened this issue Mar 25, 2015 · 2 comments
Assignees
Labels
bug Weird outcome is probably not what the mod programmer expected.

Comments

@TDW89
Copy link
Contributor

TDW89 commented Mar 25, 2015

The command WAIT 0. if typed directly to the terminal locks you out until you cycle power (never completes and you can't Ctrl+C out.)
When in a script it freezes the script until you abort it.
This also happens if the value is negative.

@Dunbaratu
Copy link
Member

hmm. That's... weird.

I'll have a look after I get functions checked in.

wait 0. should pretty much return on the very next update tick. It means wait N seconds, where N is zero ,so it should immediately become expired the next time it checks.

@erendrake erendrake added the bug Weird outcome is probably not what the mod programmer expected. label Apr 2, 2015
@erendrake erendrake modified the milestone: v0.17.0 Punchlist Apr 2, 2015
@Dunbaratu Dunbaratu self-assigned this Apr 4, 2015
@Dunbaratu
Copy link
Member

self-assigned just to ensure nobody else accidentally tries to work on it at the same time (even though I was bad and did the PR first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Weird outcome is probably not what the mod programmer expected.
Projects
None yet
Development

No branches or pull requests

3 participants