1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

fixed loadstring bug

This commit is contained in:
grilledham 2018-06-25 15:48:20 +01:00
parent 56d52e69ed
commit 21a961b9bc

View File

@ -1211,7 +1211,7 @@ local function poll_command(cmd)
param = 'return ' .. param
local suc, result = pcall(loadstring, param)
local suc, result = loadstring(param)
if not suc then
player_print(result)
return