Allow sub makers to alter the ID Card's description property on spawn points

This commit is contained in:
Alex Noir
2017-12-16 21:30:18 +03:00
parent 9a91480256
commit 8ab97af456
5 changed files with 38 additions and 3 deletions
@@ -533,7 +533,9 @@ namespace Barotrauma.Networking
foreach (string s in shuttleSpawnPoints[i].IdCardTags)
{
item.AddTag(s);
}
}
if (!string.IsNullOrWhiteSpace(shuttleSpawnPoints[i].IdCardDesc))
item.Description = shuttleSpawnPoints[i].IdCardDesc;
}
#if CLIENT
GameMain.GameSession.CrewManager.AddCharacter(character);