Made sure to have the launcher send the gamedir as the first entry in the environment for the portal and launcher. This makes it possible to start evennia from anywhere in the game folder.

This commit is contained in:
Griatch 2015-02-10 00:12:41 +01:00
parent 5038d42438
commit ec4e985c39
3 changed files with 1 additions and 9 deletions

View file

@ -11,11 +11,6 @@ by game/evennia.py).
import sys
import os
# add core Evennia directory
sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.dirname(
os.path.dirname(os.path.abspath(__file__))))))
sys.path.insert(1, os.getcwd())
from twisted.application import internet, service
from twisted.internet import protocol, reactor
from twisted.web import server