Fix not found job position
This commit is contained in:
@@ -20,7 +20,7 @@ public class CashierDesk : BaseInteractableObject
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_playerJob = _jobsInfoList.First(x => x.JobPosition == player.JobPosition);
|
_playerJob = _jobsInfoList.Where(x => x.JobPosition == player.JobPosition).FirstOrDefault();
|
||||||
print($"playerJob is {_playerJob}");
|
print($"playerJob is {_playerJob}");
|
||||||
if (_playerJob != null)
|
if (_playerJob != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user