Temporary fix for bid function in hover debugger

This commit is contained in:
Michael Schmatz 2014-06-19 17:09:45 -07:00
parent 7b59c42f5d
commit 40fd1674ad

View file

@ -96,7 +96,7 @@ module.exports = class World
for thang in @thangs when thang.isProgrammable for thang in @thangs when thang.isProgrammable
userCode = @userCodeMap[thang.id] ? {} userCode = @userCodeMap[thang.id] ? {}
for methodName, aether of userCode for methodName, aether of userCode
framesToLoadFlowBefore = if methodName is 'plan' then 200 else 1 # Adjust if plan() is taking even longer framesToLoadFlowBefore = if methodName is 'plan' or methodName is 'bid' then 200 else 1 # Adjust if plan() is taking even longer
aether._shouldSkipFlow = i < loadUntilFrame - framesToLoadFlowBefore aether._shouldSkipFlow = i < loadUntilFrame - framesToLoadFlowBefore
try try
@getFrame(i) @getFrame(i)