diff --git a/scripts/bots_adapter.gsc b/scripts/bots_adapter.gsc index d8aefa5..88c90c7 100644 --- a/scripts/bots_adapter.gsc +++ b/scripts/bots_adapter.gsc @@ -23,6 +23,7 @@ do_printconsole( s ) do_filewrite( file, contents, mode ) { + file = "scriptdata/" + file; FileWrite( file, contents, mode ); } @@ -34,6 +35,7 @@ do_fileread( file ) do_fileexists( file ) { + file = "scriptdata/" + file; return FileExists( file ); }