Committing patch [#31704] "Patch to fix keyboard sensor from blocking quit game key...
[blender.git] / source / gameengine / Converter / KX_ConvertSensors.cpp
index fa9eb5317b945f319bb01622f8d98783c53d076c..2bd1688ca6dc3b0861678fa6ab071440d6ddf470 100644 (file)
@@ -302,7 +302,8 @@ void BL_ConvertSensors(struct Object* blenderobject,
                                                (blenderkeybdsensor->type == SENS_ALL_KEYS),
                                                blenderkeybdsensor->targetName,
                                                blenderkeybdsensor->toggleName,
-                                               gameobj); //                    blenderkeybdsensor->pad);
+                                               gameobj,
+                                               KX_KetsjiEngine::GetExitKey()); //                      blenderkeybdsensor->pad);
                                        
                                }