Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ Scene.prototype.ending = function ending() {
if (typeof window == "undefined") return;
this.paragraph();
var groups = [""];
options = [];
var options = [];
options.push({name:"Play again.", group:"choice", restart:true});
if (!window.isOmnibusApp) options.push({name:"Play more games like this.", group:"choice", moreGames:true});
options.push({name:"Share this game with friends.", group:"choice", share:true});
Expand Down Expand Up @@ -3392,7 +3392,7 @@ Scene.prototype.stat_chart = function stat_chart() {
var label = this.replaceVariables(row.label);
var definition = this.replaceVariables(row.definition || "");

var statWidth, div, span, statValue;
var statWidth, div, span, span0, statValue;
if (type == "text") {
div = document.createElement("div");
setClass(div, "statText");
Expand Down Expand Up @@ -3447,7 +3447,7 @@ Scene.prototype.parseStatChart = function parseStatChart() {
// nextIndent: the level of indentation after the current line
var nextIndent = null;
var rows = [];
var line, line1, line2, line2indent;
var line, line1, line1indent, line2, line2indent;
var startIndent = this.indent;
while(isDefined(line = this.lines[++this.lineNum])) {
if (!trim(line)) {
Expand Down