Respawn shuttle transport duration can be adjusted or set to unlimited (= shuttle won't leave after spawning), subs with the HideInMenus tag aren't shown in menus, respawn info msgs are shown to all players
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Barotrauma
|
||||
public class GUIDropDown : GUIComponent
|
||||
{
|
||||
|
||||
public delegate bool OnSelectedHandler(GUIComponent selected);
|
||||
public delegate bool OnSelectedHandler(GUIComponent selected, object obj = null);
|
||||
public OnSelectedHandler OnSelected;
|
||||
|
||||
private GUIButton button;
|
||||
@@ -126,7 +126,7 @@ namespace Barotrauma
|
||||
|
||||
Dropped = false;
|
||||
|
||||
if (OnSelected != null) OnSelected(component);
|
||||
if (OnSelected != null) OnSelected(component, component.UserData);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user