Skip to content

Commit

Permalink
fix: Bring back editor var
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Nov 28, 2023
1 parent b54e13c commit ed64b38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions game/static/game/js/level_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2727,6 +2727,7 @@ ocargo.LevelEditor = function(levelId) {
/******************/

$(function() {
var editor = new ocargo.LevelEditor(LEVEL); // This seems unused but removing it breaks the editor page.
var subtitle = interpolate(
gettext('Click %(help_icon)s%(help_label)s for clues on getting started.'), {
help_icon: ocargo.jsElements.image(ocargo.Drawing.imageDir + 'icons/help.svg', 'popupHelp'),
Expand Down

0 comments on commit ed64b38

Please sign in to comment.