Fixed bug with GUIComponent children changing order in parent's list

This commit is contained in:
juanjp600
2016-09-19 22:02:00 -03:00
parent c97f729fb3
commit f3fbbb8aec
6 changed files with 19 additions and 31 deletions

View File

@@ -153,7 +153,7 @@ namespace Barotrauma
private bool OnClicked(GUIComponent component, object obj)
{
if (wasOpened) return false;
wasOpened = true;
Dropped = !Dropped;