Skip to content

Commit

Permalink
fix: level up widget bug
Browse files Browse the repository at this point in the history
closes #318
  • Loading branch information
jameshallam93 committed Feb 10, 2023
1 parent 493098f commit 5dd58a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/skills/level-up-dialogue.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const widgetIds = [
/**
* Handles a level-up dialogue action.
*/
export const handler: widgetInteractionActionHandler = ({ player }) =>
player.interfaceState.closeWidget('chatbox');
export const handler: widgetInteractionActionHandler = ({ player }) => player.interfaceState.closeChatOverlayWidget();


export default {
pluginId: 'rs:close_level_up_message',
Expand Down

0 comments on commit 5dd58a5

Please sign in to comment.