Seriously. It works without the globals block. When I add a globals block to the custom script
globals
integer Base = 0
endglobals
it doesn't work. When I test the game, it goes to the main screen immediately.
I tried saving a map with a custom test script:
function funcTest takes real paramInput returns string
endfunction
and it locks up when generating the map script.
Has anyone had this problem before? How do you fix it?