will this cause desync?
JASS:
function SetVision takes player p returns nothing
local location t = null
if (GetLocalPlayer()==p) then
set t = Location( GetCameraTargetPositionX()+1000 , GetCameraTargetPositionY()+1000 )
call PanCameraToTimedLocForPlayer( p, t, 0 )
endif
call RemoveLocation(t)
set t=null
endfunction