Tgstation: The mime's spell action buttons always appear greyed out

Created on 4 May 2016  路  3Comments  路  Source: tgstation/tgstation

Making it very confusing to know what's on cooldown

Bug TesteReproduced

All 3 comments

Can't reproduce. Give me more info

Latejoin as mime. Action buttons in top left are red as if they're on cool down.

Only happens for latejoin mimes. I think this is not a bug specific to mime spell, but probably happens to any latejoin mob with spells.

edit: Turns out the spell action uses usr instead of the action's owner, and in the case of a new player spawning usr is mob/newplayer which explains why the spell castability check fails. The only reason why we don't see it for roundstart join mime is likely because the code calls an update of all action buttons in that scenario, which fixes (and hides) the issue. ( https://github.com/tgstation/tgstation/commit/e2c869bc7732ba8e94fa20dcb26b97541d8bc794#diff-d673e87b831ff54f11401807aade04d0R227 )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wilchenx picture Wilchenx  路  3Comments

ChangelingRain picture ChangelingRain  路  3Comments

nullbear picture nullbear  路  3Comments

Armhulen picture Armhulen  路  3Comments

Onule picture Onule  路  3Comments