REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

ModCallbacks.MC_PRE_RENDER_CUSTOM_CHARACTER_MENU has a unusable sprite argument

Open Foks256 opened this issue 1 year ago • 0 comments

This callback only triggers for custom characters, yet the sprite argument only triggers on vanilla characters, which means that it's basically useless, so I propose a replacement for the sprite argument.

Replace that argument with DefaultSprite (PlayerConfig:GetModdedMenuBackgroundSprite()) and add another argument for PortraitSprite (PlayerConfig:GetModdedMenuPortraitSprite()), two new arguments that would be really useful to have in there.

Foks256 avatar Feb 17 '24 12:02 Foks256