Build 0.18.4.0
This commit is contained in:
@@ -569,6 +569,18 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
public void CheckNeedsSoundUpdate(ItemComponent ic)
|
||||
{
|
||||
if (ic.NeedsSoundUpdate())
|
||||
{
|
||||
if (!updateableComponents.Contains(ic))
|
||||
{
|
||||
updateableComponents.Add(ic);
|
||||
}
|
||||
isActive = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateSpriteStates(float deltaTime)
|
||||
{
|
||||
if (activeContainedSprite != null)
|
||||
@@ -940,6 +952,7 @@ namespace Barotrauma
|
||||
|
||||
var textList = new GUIListBox(new RectTransform(new Vector2(1.0f, 0.8f), msgBox.Content.RectTransform, Anchor.TopCenter))
|
||||
{
|
||||
PlaySoundOnSelect = true,
|
||||
OnSelected = (component, userData) =>
|
||||
{
|
||||
if (!(userData is Identifier)) { return true; }
|
||||
|
||||
Reference in New Issue
Block a user