In the controller in the set() function of the oneshot variable move the oneshot = v part so that it's outsite the if Engine.is_editor_hint() statement.
My bad for leaving it that way. I'll fix it asap