Skip to content

Conversation

@LuantistDork
Copy link
Contributor

No description provided.

@BuckarooBanzay BuckarooBanzay added the enhancement New feature or request label Sep 16, 2024
@BuckarooBanzay
Copy link
Member

out of curiosity: why did it previously just support integers?

@LuantistDork
Copy link
Contributor Author

sorry for the late response

the original code rounds down to the nearest second, while you can use float intervals they don't function how you'd expect them to.

the updated code instead divides by the interval before rounding down, which should allow floats to function how you'd expect them to.

@wsor4035
Copy link
Contributor

will changing precision like this affect any mods that assume its in seconds? otherwise probably fine

@LuantistDork
Copy link
Contributor Author

It might effect performance by a smidgen, though I doubt by any significant amount.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants