fix: player can select unavailable drone
This commit is contained in:
parent
c31d902074
commit
60002df6e1
@ -2,7 +2,7 @@
|
||||
|
||||
## TODO:
|
||||
|
||||
- [ ] Menu audio
|
||||
- [x] Menu audio
|
||||
- [x] Tags, zOffset from constants
|
||||
- [ ] Add global game state (?)
|
||||
- [x] Add inertia to the player
|
||||
|
@ -6,6 +6,9 @@ local elapsedTime = 0
|
||||
|
||||
scene.inputHandler = {
|
||||
AButtonDown = function()
|
||||
if Drones[scene.menuIndex].locked == true then
|
||||
return
|
||||
end
|
||||
scene.menuConfirmSound:play(1)
|
||||
Noble.transition(Assemble)
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user