
import sys
sys.path.insert(0, 'pyglet-c9188efc2e30')

import getopt
import os
import ookoobah.main

def run():
    ookoobah.main.main()

if __name__ == "__main__":
    # Change to the game directory
    os.chdir(os.path.dirname(os.path.join(".", sys.argv[0])))

    # Start the actual game
    run()


import os
import sys
import getopt

if __name__ == "__main__":
    # Change to the game directory
    os.chdir(os.path.dirname(os.path.join(".", sys.argv[0])))
    sys.path.insert(0, 'pyglet-c9188efc2e30')
    import ookoobah.main
    ookoobah.main.main()

Fix pyglet and game loading.
Fix pyglet and game loading.

  
+ import os
  import sys
- sys.path.insert(0, 'pyglet-c9188efc2e30')
- 
  import getopt
- import os
- import ookoobah.main
- 
- def run():
-     ookoobah.main.main()
  
  if __name__ == "__main__":
      # Change to the game directory
      os.chdir(os.path.dirname(os.path.join(".", sys.argv[0])))
+     sys.path.insert(0, 'pyglet-c9188efc2e30')
+     import ookoobah.main
+     ookoobah.main.main()
  
-     # Start the actual game
-     run()
- 
Fix pyglet and game loading.
## Code Before:

import sys
sys.path.insert(0, 'pyglet-c9188efc2e30')

import getopt
import os
import ookoobah.main

def run():
    ookoobah.main.main()

if __name__ == "__main__":
    # Change to the game directory
    os.chdir(os.path.dirname(os.path.join(".", sys.argv[0])))

    # Start the actual game
    run()

## Instruction:
Fix pyglet and game loading.
## Code After:

import os
import sys
import getopt

if __name__ == "__main__":
    # Change to the game directory
    os.chdir(os.path.dirname(os.path.join(".", sys.argv[0])))
    sys.path.insert(0, 'pyglet-c9188efc2e30')
    import ookoobah.main
    ookoobah.main.main()
