- Aug 26, 2016
- 164
- 803
In renpy 7 you could import a module and from within the module you import other files using a relative path.
In renpy 8 you need to add the module name to any import within the module to another file in the module, otherwise it raises a ModuleNotFoundError.
Is there a way to restore the renpy 7 behavior in renpy 8?
Code:
import shader
##in shader.__init__
import utilsutils
Code:
import shader
##in shader.__init__
import shader.utilsutils