ui environment changes, fix multiple inits
This commit is contained in:
@@ -26,7 +26,7 @@ public class CashierDesk : BaseInteractableObject
|
||||
|
||||
protected override void PrepareMenuActions()
|
||||
{
|
||||
_playerJob = _jobsInfoList.Where(x => x.JobPosition == _player.JobPosition).FirstOrDefault();
|
||||
_playerJob = _jobsInfoList.FirstOrDefault(x => x.JobPosition == _player.JobPosition);
|
||||
if (_playerJob != null)
|
||||
_menuActions[RadialMenuActions.Work].IsEnabled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user