diff -r 84e7d1a5e3df -r 2a3925178178 hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Sat Nov 12 21:59:10 2011 +0100 +++ b/hedgewars/uCommandHandlers.pas Sat Nov 12 21:44:26 2011 -0500 @@ -453,8 +453,16 @@ begin if isDeveloperMode then begin - UserPathz[ptMapCurrent]:= UserPathz[ptMaps] + '/' + s; - Pathz[ptMapCurrent]:= Pathz[ptMaps] + '/' + s; + if s = '' then + begin + UserPathz[ptMapCurrent]:= s; + Pathz[ptMapCurrent]:= s; + end + else + begin + UserPathz[ptMapCurrent]:= UserPathz[ptMaps] + '/' + s; + Pathz[ptMapCurrent]:= Pathz[ptMaps] + '/' + s; + end; InitStepsFlags:= InitStepsFlags or cifMap end;