Lua is not my language so the title isn't perfect.
How to reproduce:
/c print = game.player.print
/c print("Whatever")
Apologies if it's my lack of Lua knowledge that's causing this and not game code.
Log:
[0.17.47] Lua: Crash when call a function that overrides print
-
- Manual Inserter
- Posts: 2
- Joined: Fri Jun 07, 2019 5:36 pm
- Contact:
Re: [0.17.47] Lua: Crash when call a function that overrides print
Thanks for the report. That is a known crash and the fix is: don't do that.
I could "fix" it so it doesn't crash but it will slow literally the entire mod API and all usage of it down just so this one scenario doesn't crash.
So, it stays like that.
I could "fix" it so it doesn't crash but it will slow literally the entire mod API and all usage of it down just so this one scenario doesn't crash.
So, it stays like that.
If you want to get ahold of me I'm almost always on Discord.