Ticket #2807: replayWithoutModsErrorMessage_v2.diff
File replayWithoutModsErrorMessage_v2.diff, 1.3 KB (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/credits/texts/programming.json
24 24 {"nick": "Alan", "name": "Alan Kemp"}, 25 25 {"nick": "aBothe", "name": "Alexander Bothe"}, 26 26 {"nick": "alpha123", "name": "Peter P. Cannici"}, 27 {"nick": "ArnH", "name": "Arno Hemelhof"}, 27 28 {"nick": "Aurium", "name": "Aurélio Heckert"}, 28 29 {"nick": "badmadblacksad", "name": "Martin F"}, 29 30 {"name": "Mikołaj \"Bajter\" Korcz"}, -
source/main.cpp
453 453 // run non-visual simulation replay if requested 454 454 if (isReplay) 455 455 { 456 // make sure there is a mod specified. 457 // We won't find the files needed for the simulation otherwise. 458 if (!args.Has("mod")) 459 { 460 LOGERROR("ERROR: At least one mod should be specified! Did you mean to add the argument '-mod=public'?"); 461 CXeromyces::Terminate(); 462 return; 463 } 456 464 Paths paths(args); 457 465 g_VFS = CreateVfs(20 * MiB); 458 466 g_VFS->Mount(L"cache/", paths.Cache(), VFS_MOUNT_ARCHIVABLE);