Fixed message texture size logic

This commit is contained in:
Mark Qvist 2024-03-25 19:32:03 +01:00
parent aae1377a42
commit d5630d72de

View File

@ -411,7 +411,7 @@ class Messages():
def check_textures(w, val):
try:
if w.texture_size[1] > 360 and w.texture_size[1] >= self.max_texture_size:
if w.texture_size[0] > 360 and w.texture_size[1] >= self.max_texture_size:
w.text = "[i]The content of this message is too large to display in the message stream. You can copy the message content into another program by using the context menu of this message, and selecting [b]Copy[/b].[/i]"
if w.owner.has_image: