Remove duplicate serialization

This commit is contained in:
Jude Melton-Houghton 2022-02-08 08:52:08 -05:00
parent 622b82cfd6
commit 0d223241eb
1 changed files with 0 additions and 2 deletions

View File

@ -672,8 +672,6 @@ local function run_inner(pos, code, event)
if type(env.port) ~= "table" then
return false, "Ports set are invalid."
end
local success, memstring = pcall(serialize_memory, env.mem)
if not success then return false, memstring end -- memstring is the error message here.
-- Actually set the ports
set_port_states(pos, env.port)