Skip to content

Commit da49fb7

Browse files
Merge pull request #84 from ut-code/fixBug
ブロックのバグ修正
2 parents e74c877 + 749f414 commit da49fb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/web/src/blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const FighterProperties = {
105105
HP: "HP",
106106
STAMINA: "stamina",
107107
SPEED: "speed",
108-
WEAPON: "weapon.bulletsLeft",
108+
WEAPON: "weapon?.bulletsLeft",
109109
} as const;
110110
export const GET_PROPERTY_OF_FIGHTER = "get_property_of_fighter";
111111
Blockly.Blocks[GET_PROPERTY_OF_FIGHTER] = {

0 commit comments

Comments
 (0)