Ignore run() in emscripten

This commit is contained in:
rdb 2016-02-11 19:10:59 +01:00
parent ef72a0a410
commit e0e2d6d222
1 changed files with 3 additions and 0 deletions

View File

@ -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()