From 2d3acbc7ee238fc09895b7903116f7a188b9a318 Mon Sep 17 00:00:00 2001 From: David Martinez Marti Date: Wed, 16 Sep 2009 13:52:07 +0200 Subject: [PATCH] Add return for mainloop values. --- src/pyworlds/worlds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyworlds/worlds.py b/src/pyworlds/worlds.py index 36d4e9a..79edbc6 100644 --- a/src/pyworlds/worlds.py +++ b/src/pyworlds/worlds.py @@ -89,7 +89,7 @@ def begin_loop(callbackround=None, callbackadvance=None, engine="soya" ): #soya.set_root_widget(soya.widget.Group()) #soya.root_widget.add(camera) #if enable_fps: soya.root_widget.add(soya.widget.FPSLabel()) - mainloop.main_loop() + return mainloop.main_loop() def init_gui(): global root,viewport -- 2.11.4.GIT