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
pairs() consided harmful (Metatable with metatable) #1625
Comments
|
I lost all faith in you the second I saw you write "pairs() considered harmful" - it's not harmful, it's just not usable in this spot. |
|
@ChickenNuggers I know but extortion tactics. |
|
You do know, when people get annoyed at you (like most OC people), titles like this are more likely to make them ignore it... |
|
@skyem123 Really? Because people started paying attention when I changed it to this... |
|
I mainly just called you an idiot because I saw you mention it elsewhere, a channel we unfortunately share. |
|
I would have checked it anyway... >_< |
|
Next time, just make a PR, and don't be a passive-aggressive dick about it. |
This code behaves differently in OC vs the standalone Lua interpreter:
Proposed solution: change setmetatable() to use
for k, v in next, t do.The text was updated successfully, but these errors were encountered: