diff --git a/src/engine/entities/FunctionBox.ts b/src/engine/entities/FunctionBox.ts index b7015f2..e51eb2b 100644 --- a/src/engine/entities/FunctionBox.ts +++ b/src/engine/entities/FunctionBox.ts @@ -1,4 +1,10 @@ -import { IMAGES, SPRITE_SPECS, SpriteSpec, Sprites } from "../config"; +import { + IMAGES, + Miscellaneous, + SPRITE_SPECS, + SpriteSpec, + Sprites, +} from "../config"; import { Entity, EntityNames } from "."; import { BoundingBox, @@ -77,7 +83,14 @@ export class FunctionBox extends Entity { return; } modalOpen = true; - openModal(this.code); + openModal( + `
${this.code}