mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Fix making Problems from AetherProblems with no range
This commit is contained in:
parent
663c220eaf
commit
e0dafc571a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module.exports = class Problem
|
|||
{ @lineMarkerRange, @textMarkerRange } = @buildMarkerRangesFromAetherProblem(@aetherProblem) if isCast
|
||||
|
||||
{ @level, @range, @message, @hint, @userInfo } = @aetherProblem
|
||||
{ @row, @column: col } = @aetherProblem.range?[0]
|
||||
{ @row, @column: col } = @aetherProblem.range?[0] or {}
|
||||
@createdBy = 'aether'
|
||||
else
|
||||
unless userCodeHasChangedSinceLastCast
|
||||
|
|
Loading…
Reference in a new issue