Added a timer to the raycasts so it's not screwing over performance too hard
This commit is contained in:
@@ -297,7 +297,7 @@ namespace Barotrauma
|
||||
else
|
||||
{
|
||||
string description = Items[i].Description;
|
||||
if (Items[i].Prefab.Name == "ID Card")
|
||||
if (Items[i].Prefab.NameMatches("ID Card"))
|
||||
{
|
||||
string[] readTags = Items[i].Tags.Split(',');
|
||||
string idName = null;
|
||||
|
||||
Reference in New Issue
Block a user