Fix incorrect indentation when oneway function is used

The shortcut doesn't work, the next function ends up getting generated inside the previous function, which is bad.