diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-12 02:25:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-12 02:25:28 +0400 |
commit | 0143a8c6e546eeb63bbe90750fa6b628837e9903 (patch) | |
tree | e0384d5376b37bcf56e24ae2f4121982303e88c7 /release/scripts/templates/gamelogic_module.py | |
parent | 6ebe7b8c5d7060e9ee33b0f30e84f6f62c8e8fef (diff) |
update for gamelogic templates
Diffstat (limited to 'release/scripts/templates/gamelogic_module.py')
-rw-r--r-- | release/scripts/templates/gamelogic_module.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/templates/gamelogic_module.py b/release/scripts/templates/gamelogic_module.py index 5a61a3592dc..70bd4d9b45b 100644 --- a/release/scripts/templates/gamelogic_module.py +++ b/release/scripts/templates/gamelogic_module.py @@ -5,7 +5,7 @@ # * External text modules are supported as long as they are at # the same location as the blendfile or one of its libraries. -import GameLogic +import bge # variables defined here will only be set once when the # module is first imported. Set object spesific vars @@ -23,4 +23,4 @@ def main(cont): else: cont.deactivate(actu) -# dont call main(GameLogic.getCurrentController()), the py controller will +# dont call main(bge.logic.getCurrentController()), the py controller will |