ID:2390001
 
Resolved
Color was applied incorrectly to maptext in cases where maptext did not have an explicit or implied KEEP_TOGETHER.
BYOND Version:512.1442
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 67.0.3396.99
Applies to:Dream Seeker
Status: Resolved (512.1445)

This issue has been resolved.
It's my first Bug Report, so i hope i did it right!

Descriptive Problem Summary:
I've got a Button in the client.screen with an maptext in it and to sort it out, that its an Enemy or a Friendly mob, i colored it Red(Enemy) and Green(Friendly) with animate.


The Problem is, that the Button is colored correctly red but the maptext is'nt, it is colored blue, as if the blue is switched with the red var in the maptext:
animate(src,color=rgb(130,50,50),alpha=255)

https://i.imgur.com/3UTzwdt.png


BUT if i change the alpha within the animate under 255, it's displayed correctly:
animate(src,color=rgb(130,50,50),alpha=254)

https://i.imgur.com/i8X1bW2.png

I had no problem with it, when the maptext color was in Black and the button color was in kinda yellow https://i.imgur.com/BzO1tDw.png

Numbered Steps to Reproduce Problem:
Create a client.screen button with a grey frame and a black background, add a maptext to it, change the maptext color with
<FONT color=white>
to white, add it to your screen and change the color of it to red with
animate(src, color=rgb(200,50,50))

the button and maptext should be both red but its only the button and the maptext is blue

Code Snippet (if applicable) to Reproduce Problem:
Button Icon: https://i.imgur.com/ADHaB03.png
obj/screen/TEST
icon='Button.dmi'
maptext="<FONT color=white> TEST"
maptext_width=60
maptext_height=60
screen_loc="CENTER,CENTER"
New()
animate(src,color=rgb(200,50,50),alpha=255)//to solve the problem just change alpha to under 255
.=..()

mob
Login()
usr.client.screen+=new/obj/screen/TEST


Expected Results:
The Button and the Maptext should be about the same color

Actual Results:
The Button is Red and the Maptext is Blue

Does the problem occur:
Every time? Or how often? Yes
In other games? Idk
In other user accounts? Idk
On other computers? Idk

When does the problem NOT occur?
if you add alpha to the animate

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

The Button was in an other color so the Maptext color was Black, so i dont really know, im sorry

Lummox JR resolved issue with message:
Color was applied incorrectly to maptext in cases where maptext did not have an explicit or implied KEEP_TOGETHER.