feature/MAPG-235-basic-challenge-mode #48
@ -348,8 +348,6 @@ const GameType = Object.freeze({ 'SINGLE': 0, 'MULTI': 1, 'CHALLENGE': 2 });
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var restrictionsForDisplay = [];
|
var restrictionsForDisplay = [];
|
||||||
if (Game.restrictions.timeLimit) {
|
if (Game.restrictions.timeLimit) {
|
||||||
restrictionsForDisplay.push('time limit per ' + Game.restrictions.timeLimitType);
|
restrictionsForDisplay.push('time limit per ' + Game.restrictions.timeLimitType);
|
||||||
@ -366,6 +364,10 @@ const GameType = Object.freeze({ 'SINGLE': 0, 'MULTI': 1, 'CHALLENGE': 2 });
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (restrictionsForDisplay.length == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// create restrictions span for header
|
// create restrictions span for header
|
||||||
var restrictions = document.createElement('span');
|
var restrictions = document.createElement('span');
|
||||||
restrictions.setAttribute('id', 'restrictions');
|
restrictions.setAttribute('id', 'restrictions');
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
@section(subheader)
|
@section(subheader)
|
||||||
<span id="mapName" class="bold">Loading map...</span><!--
|
<span id="mapName" class="bold">Loading map...</span><!--
|
||||||
--><span>Round <span id="currentRound" class="bold"></span></span><!--
|
--><span id="roundContainer">Round <span id="currentRound" class="bold"></span></span><!--
|
||||||
--><span>Score <span id="currentScoreSum" class="bold"></span></span>
|
--><span>Score <span id="currentScoreSum" class="bold"></span></span>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user