Fix #1277
Fixes a bug where a SOC script can delete previous freeslots if a FREESLOT block is parsed after Lua freeslot() calls.
Fixes a bug where a SOC script can delete previous freeslots if a FREESLOT block is parsed after Lua freeslot() calls.