fix: Fixes priced healer resurrection when not choosing the correct option (#2276)

This commit is contained in:
Bohica 2025-11-23 09:58:33 -08:00 committed by GitHub
parent 4836bff5eb
commit dfb83cda13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,7 +176,14 @@ public class ResurrectGump : DynamicGump
public override void OnResponse(NetState state, in RelayInfo info)
{
if (info.ButtonID is not 1 and not 2)
if (_price > 0)
{
if (info.ButtonID != 2 || info.Switches[0] != 1)
{
return;
}
}
else if (info.ButtonID != 1)
{
return;
}