Browse Source

explicitly assign base, so we can get it even if it gets shadowed

David Rose 16 years ago
parent
commit
1438fa0078
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/directbase/DirectStart.py

+ 1 - 1
direct/src/directbase/DirectStart.py

@@ -1,4 +1,4 @@
 print 'DirectStart: Starting the game.'
 
 from direct.showbase import ShowBase
-ShowBase.ShowBase()
+base = ShowBase.ShowBase()