Add script for bootstrapping code. The script runs right after the python plugin is loaded.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2971 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2004-10-21 18:57:42 +00:00
parent 0b3d2bad33
commit 7836fd619b
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import CFPython;
import os.path
import sys
sys.path.insert(0, os.path.join(CFPython.GetDataDirectory(), CFPython.GetMapDirectory(), 'python'))