fix: Fixes priced healer resurrection when not choosing the correct option (#2276)
This commit is contained in:
parent
4836bff5eb
commit
dfb83cda13
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue