mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-07-03 17:29:46 +00:00
Fix crash in sell when selecting non-existent player.
This commit is contained in:
parent
8aeb6a0595
commit
cb0c203502
|
@ -361,7 +361,7 @@ def _sellToStore(profitPercent)#1
|
|||
pageNum--
|
||||
elsif choice == '>' and pageNum+1 < nPages
|
||||
pageNum++
|
||||
elsif choice >= '1' and (choice-'1') <= playerCount
|
||||
elsif choice >= '1' and (choice-'1') < playerCount and (choice-'1') <> playerNum
|
||||
playerNum = choice - '1'
|
||||
pPlayer = numToPlayer(playerNum)
|
||||
totalItems = iterateSellables(9999, 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user