Skip to content

Commit

Permalink
Fixing language support
Browse files Browse the repository at this point in the history
  • Loading branch information
bakermd86 committed Mar 29, 2023
1 parent efb360c commit c8d188f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified NPC_Portraits.ext
Binary file not shown.
2 changes: 2 additions & 0 deletions scripts/npc_manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ swadeRulesetName = "SavageWorlds"

function onDesktopInit()
if User.isLocal() or User.isHost() then
ChatManager.unregisterDeliverMessageCallback(LanguageManager.onChatDeliverMessage);
ChatManager.registerDeliverMessageCallback(insertNpcPortraits)
ChatManager.registerDeliverMessageCallback(LanguageManager.onChatDeliverMessage);
_orgCreateBaseMessage = ChatManager.createBaseMessage
ChatManager.createBaseMessage = createBaseMessage
-- Call change handler for all existing CT entries and charsheets at startup to create the dummy
Expand Down

0 comments on commit c8d188f

Please sign in to comment.