Skip to content

Commit

Permalink
core: only set print if not existing
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Feb 28, 2024
1 parent 196e6e6 commit b37e8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ pfUI.backdrop_blizz_full = {
message = function(msg)
DEFAULT_CHAT_FRAME:AddMessage("|cffcccc33INFO: |cffffff55" .. ( msg or "nil" ))
end
print = message
print = print or message

error = function(msg)
if PF_DEBUG_MODE then message(debugstack()) end
Expand Down

0 comments on commit b37e8bd

Please sign in to comment.