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

Fixed STNDRD #793

Merged
merged 4 commits into from
Aug 25, 2014
Merged

Fixed STNDRD #793

merged 4 commits into from
Aug 25, 2014

Conversation

AshleighAdams
Copy link
Contributor

With the old function, STNDRD(111) would return "st", and not "th" as expected.

It is also ~350% quicker in standard Lua, unsure of LuaJIT.

@willox
Copy link
Contributor

willox commented Aug 23, 2014

I pointed out to someone recently that using string.sub (string.Right) here was silly. I like this pull!

robotboy655 added a commit that referenced this pull request Aug 25, 2014
@robotboy655 robotboy655 merged commit ce2ecf3 into Facepunch:master Aug 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants