The relevant code is quite short:
class Gameserver:
def __init__(self):
import modules.logic.game
game.initGame()
game.initGameInstance()
game.start()
game.myShowBase.run()
However, whatever I do, I either get a bad indentation error (only in the first line that calls a function on game) or some of the functions are not called at all.
Any Ideas how to fix this?
I think you need to type it as follows
This should not give you any error.