Fixed string inputs in SerializableEntityEditor being cleared when enter is hit
This commit is contained in:
@@ -243,6 +243,8 @@ namespace Barotrauma
|
||||
if (property.TrySetValue(text))
|
||||
{
|
||||
TrySendNetworkUpdate(entity, property);
|
||||
textBox.Text = (string)property.GetValue();
|
||||
textBox.Deselect();
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user