Skip to content

Commit

Permalink
Merge branch 'master' into level_36_desc
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 authored Dec 5, 2023
2 parents 15da9a9 + 5afe359 commit 150a7d2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

<!--next-version-placeholder-->

## v5.16.2 (2023-12-05)

### Fix

* Use sleigh image on start block for xmas theme ([#1549](https://github.com/ocadotechnology/rapid-router/issues/1549)) ([`0b72589`](https://github.com/ocadotechnology/rapid-router/commit/0b725890ad7c1908440fc2d985e028f6335b6963))

## v5.16.1 (2023-11-30)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion game/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.16.1"
__version__ = "5.16.2"
15 changes: 8 additions & 7 deletions game/static/game/js/blocklyCustomBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ function initCustomBlocksDescription() {
this.setColour(50);
this.appendDummyInput()
.appendField(gettext("Start"))
.appendField(
new Blockly.FieldImage(
ocargo.Drawing.imageDir + CHARACTER_EN_FACE_URL,
ocargo.BlocklyControl.BLOCK_CHARACTER_HEIGHT,
ocargo.BlocklyControl.BLOCK_CHARACTER_WIDTH
)
);
.appendField(new Blockly.FieldImage(
new Date().getMonth() === 11 && CHARACTER_NAME === "Van"
? ocargo.Drawing.imageDir + "characters/top_view/Sleigh.svg"
: ocargo.Drawing.imageDir + CHARACTER_EN_FACE_URL,
ocargo.BlocklyControl.BLOCK_CHARACTER_HEIGHT,
ocargo.BlocklyControl.BLOCK_CHARACTER_WIDTH
)
);
this.setNextStatement(true, "Action");
this.setTooltip(gettext("The beginning of the program"));
this.setDeletable(false);
Expand Down

0 comments on commit 150a7d2

Please sign in to comment.