setMinuteDuration
Client
Sets how much real time one game minute lasts on this client.
Also exists on the server, with its own implementation: setMinuteDuration
bool setMinuteDuration(float milliseconds)
Parameters
| Name | Type | Description |
|---|---|---|
| milliseconds | float | How long one game minute lasts, in milliseconds. Zero or less stops the clock. |
Returns
true once the duration is set.
Example
setMinuteDuration(60000) -- the game clock runs at real time