Libsaria initialization
I now initialize libsaria during import, rather than as a separate step afterwards.
This commit is contained in:
parent
b8d6d918a1
commit
63211fb1c8
|
@ -63,3 +63,6 @@ def shutdown():
|
||||||
import plugin
|
import plugin
|
||||||
plugin.quit()
|
plugin.quit()
|
||||||
event.start("POSTQUIT")
|
event.start("POSTQUIT")
|
||||||
|
|
||||||
|
|
||||||
|
init()
|
||||||
|
|
|
@ -10,7 +10,6 @@ import ocarina
|
||||||
|
|
||||||
from ocarina import collection
|
from ocarina import collection
|
||||||
|
|
||||||
libsaria.init()
|
|
||||||
libsaria.init_pref("window_size", (800,600))
|
libsaria.init_pref("window_size", (800,600))
|
||||||
|
|
||||||
prefs = libsaria.prefs
|
prefs = libsaria.prefs
|
||||||
|
|
Loading…
Reference in New Issue