You guys never learn. There's no necessity to DEPROTECT a map in order to edit its war3map.j. About the return bug a simple search on Google and I found the answer to your problem:
https://www.hiveworkshop.com/threads/ma ... 24.165482/By the way, I did that for you since it looked no time consuming. These were the functions which used the return bug:
Code:
function JU takes rect R returns unit
return R
return null
endfunction
function MU takes integer I returns group
if I!=0 then
return I
endif
return null
endfunction
If you get into the code, there are two functions which use them but there's no function that call those two ones. So I just removed them.