| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Map scripts also now actually run in their own lua thread.
|
|
|
|
| |
And they're all on their own threads again. This is mostly so debug commands can be run during execution of other scripts. But it can also be useful for map init scripts (if we want a script to run whenever a map is loaded, even though map loading is usually done by a script).
|
|
|
|
| |
Also it turns out you totally don't need the runner thread.
|
|
|
|
|
|
|
|
| |
Open it by pressing backtick, close it by hitting escape. Pressing backtick does not open it in release builds.
Current shortcomings: opening it for the first time also types a backtick for some reason, but not on subsequent times. Also, it doesn't create a coroutine, so any script function that yields is going to fail.
This also added a "is gameplay paused" flag to Game, which will be useful for adding a pause menu.
|
| |
|
|
|