mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
7d2b034432
game of all time. Get the right shapes to the right places to score. But be warned: there are only a limited number of islands to build on and longer cables are expensive! Sort wisely to minimize loss. WWW: http://arcticpaint.com/gondola/
16 lines
476 B
Python
16 lines
476 B
Python
--- gamelib/data.py.orig 2009-04-08 03:18:37.000000000 +0400
|
|
+++ gamelib/data.py 2009-04-08 03:22:29.000000000 +0400
|
|
@@ -10,11 +10,7 @@
|
|
import pyglet
|
|
from pyglet import image
|
|
|
|
-data_py = os.path.abspath(os.path.dirname(__file__))
|
|
-if "library.zip" in data_py:
|
|
- data_dir = os.path.normpath(os.path.join(data_py, '..', '..', 'data'))
|
|
-else:
|
|
- data_dir = os.path.normpath(os.path.join(data_py, '..', 'data'))
|
|
+data_dir = "%%DATADIR%%"
|
|
|
|
sys.path.insert(0, data_dir)
|
|
|