Verify that the launched exe belongs to the selected content package, and if not, ask if the player wants to relaunch with the correct exe. Closes #955
This commit is contained in:
@@ -13,7 +13,8 @@ namespace Barotrauma
|
||||
Item,
|
||||
Character,
|
||||
Structure,
|
||||
Executable,
|
||||
Executable,
|
||||
ServerExecutable,
|
||||
LocationTypes,
|
||||
LevelGenerationParameters,
|
||||
RandomEvents,
|
||||
@@ -144,7 +145,7 @@ namespace Barotrauma
|
||||
var md5 = MD5.Create();
|
||||
foreach (ContentFile file in files)
|
||||
{
|
||||
if (file.type == ContentType.Executable) continue;
|
||||
if (file.type == ContentType.Executable || file.type == ContentType.ServerExecutable) continue;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user