BGE Py API - GameKeys.EventToString() utility function, makes key configuration menu's easier to write.

own error with blenderplayer, wasnt decreffing the GameLogic module, probably didnt matter since python was restarted anyway, but is incorrect.
This commit is contained in:
Campbell Barton
2008-08-29 03:15:17 +00:00
parent 272132888f
commit f60992daae
3 changed files with 39 additions and 0 deletions

View File

@@ -716,6 +716,7 @@ void GPG_Application::stopEngine()
} else {
printf("Error, GameLogic.globalDict could not be marshal'd\n");
}
Py_DECREF(gameLogic);
} else {
printf("Error, GameLogic.globalDict was removed\n");
}