Fix lua errors in stunned metal storage gadget