MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetSuspendTime

Method GetSuspendTime

src/script/script_suspend.hpp:37–37  ·  view source on GitHub ↗

* Get the amount of ticks the script should be suspended. * @return The amount of ticks to suspend the script. */

Source from the content-addressed store, hash-verified

35 * @return The amount of ticks to suspend the script.
36 */
37 int GetSuspendTime() { return time; }
38
39 /**
40 * Get the callback to call when the script can run again.

Callers 1

GameLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected