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

Too many numbers at the end of lap times #65

Closed
LoneWolfHT opened this issue Jan 30, 2023 · 4 comments · Fixed by #67
Closed

Too many numbers at the end of lap times #65

LoneWolfHT opened this issue Jan 30, 2023 · 4 comments · Fixed by #67
Assignees
Labels
Enhancement ⚙️ New feature or request

Comments

@LoneWolfHT
Copy link
Contributor

image

This can be fixed with something like:

minetest.chat_send_player(player, string.format("Game's up! You finished the race in %.2f seconds.", time))

(Will show 69.66 seconds in the chat, 2 decimal places)

@Panquesito7 Panquesito7 added the Enhancement ⚙️ New feature or request label Jan 31, 2023
@Panquesito7
Copy link
Member

That's an awesome idea! Would you like to work on this?

@LoneWolfHT
Copy link
Contributor Author

I could if you wanted me to, otherwise I will avoid adding anything new to my rather stuffed schedule :P

@Panquesito7
Copy link
Member

I could if you wanted me to, otherwise I will avoid adding anything new to my rather stuffed schedule :P

Feel free to choose and let me know. 🙂

@Panquesito7
Copy link
Member

Well, I'll guess I'll work on this. Will still give you credit. Thanks. :)

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
Development

Successfully merging a pull request may close this issue.

2 participants