From e0e2d6d22227b6ca7ade8d222dbb6590296ebd16 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 11 Feb 2016 19:10:59 +0100 Subject: [PATCH] Ignore run() in emscripten --- direct/src/task/Task.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/task/Task.py b/direct/src/task/Task.py index 266c823126..3308b6f192 100644 --- a/direct/src/task/Task.py +++ b/direct/src/task/Task.py @@ -483,6 +483,9 @@ class TaskManager: """Starts the task manager running. Does not return until an exception is encountered (including KeyboardInterrupt). """ + if PandaSystem.getPlatform() == 'emscripten': + return + # Set the clock to have last frame's time in case we were # Paused at the prompt for a long time t = self.globalClock.getFrameTime()