Skip to content
This repository

prevents game from crashing when you exit a level while picking somethin... #1206

Merged
merged 1 commit into from about 1 year ago

2 participants

NimbusBP1729 didory123
NimbusBP1729
Collaborator

...g up.

fixes #1202

didory123
Collaborator

LGMT

didory123 didory123 merged commit 78de350 into from April 06, 2013
didory123 didory123 closed this April 06, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 05, 2013
NimbusBP1729 prevents game from crashing when you exit a level while picking somet…
…hing up.

fixes #1202
4c16ab2
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  src/nodes/door.lua
1  src/nodes/door.lua
@@ -136,6 +136,7 @@ function Door:keypressed( button, player)
136 136
     if self.hideable and self.hidden then return end
137 137
     if button == self.button or button=="INTERACT" then
138 138
         self:switch(player)
  139
+        return true
139 140
     end
140 141
 end
141 142
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.