shuvit 6 years ago
parent
commit
2e7538a68d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      controller2.py

+ 1
- 1
controller2.py View File

@@ -3298,7 +3298,7 @@ def main():
3298 3298
             own['last_invert_frame'] = frame
3299 3299
             cont.activate(own.actuators['invertOff_Sound'])
3300 3300
      
3301
-        if own['invert_on'] == 1:
3301
+        if own['invert_on'] == 1 and own['invert_type'] != None:
3302 3302
             if own['invert_type'] == "reg_back_invert_in":
3303 3303
                 own['requestAction'] = 'reg_back_invert'
3304 3304
       

Loading…
Cancel
Save