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-b93c2d0d6712master
parent
0b3d2bad33
commit
7836fd619b
|
@ -0,0 +1,5 @@
|
|||
import CFPython;
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.join(CFPython.GetDataDirectory(), CFPython.GetMapDirectory(), 'python'))
|
Loading…
Reference in New Issue