Saturday, 31 January 2026 01:00:43
This commit is contained in:
@@ -4,7 +4,7 @@ using System;
|
||||
public partial class PhoneButton : TextureButton
|
||||
{
|
||||
// [Signal]
|
||||
// public delegate void HoverEventHandler(Cell THISCELL, bool ISHOVERED);
|
||||
// public delegate void HoverEventHandler(Shield THISSHIELD, bool ISHOVERED);
|
||||
public bool _isHovered = false;
|
||||
public Phone _phone;
|
||||
public Contact _contact;
|
||||
@@ -18,7 +18,10 @@ public partial class PhoneButton : TextureButton
|
||||
public override void _Pressed()
|
||||
{
|
||||
base._Pressed();
|
||||
_phone.LoadContact(_contact);
|
||||
if (_contact._clickable)
|
||||
{
|
||||
_contact.CallAction();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user