Skip to content

Commit

Permalink
fix: long messages was lasting more than 25 seconds on screen (#745)
Browse files Browse the repository at this point in the history
- Long messages in RL tibia, longs 15 seconds in max, this will fix it
  • Loading branch information
Nottinghster authored Apr 20, 2024
1 parent 0c03ef9 commit 81cc358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/game_textmessage/textmessage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function terminate()
end

function calculateVisibleTime(text)
return math.max(#text * 100, 4000)
return math.max(#text * 50, 4000)
end

function displayMessage(mode, text)
Expand Down

0 comments on commit 81cc358

Please sign in to comment.