mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Temporary fix for bid function in hover debugger
This commit is contained in:
parent
7b59c42f5d
commit
40fd1674ad
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue