mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
fixes crash when backing out of elevator menu
This commit is contained in:
@@ -1483,7 +1483,8 @@ def isPlayerFemale()
|
|||||||
return pbGet(VAR_TRAINER_GENDER) == GENDER_FEMALE
|
return pbGet(VAR_TRAINER_GENDER) == GENDER_FEMALE
|
||||||
end
|
end
|
||||||
|
|
||||||
def optionsMenu(options = [], cmdIfCancel = nil, startingOption = 0)
|
def optionsMenu(options = [], cmdIfCancel = -1, startingOption = 0)
|
||||||
|
cmdIfCancel = -1 if !cmdIfCancel
|
||||||
result = pbShowCommands(nil, options, cmdIfCancel, startingOption)
|
result = pbShowCommands(nil, options, cmdIfCancel, startingOption)
|
||||||
echoln "menuResult :#{result}"
|
echoln "menuResult :#{result}"
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user