More crash fixes
This commit is contained in:
@@ -422,7 +422,7 @@ namespace Content.Server.Interaction
|
|||||||
if (InteractDoBefore(user, used, inRangeUnobstructed ? target : null, clickLocation, false))
|
if (InteractDoBefore(user, used, inRangeUnobstructed ? target : null, clickLocation, false))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (target != null)
|
if (target != default)
|
||||||
{
|
{
|
||||||
var rangedMsg = new RangedInteractEvent(user, used, target, clickLocation);
|
var rangedMsg = new RangedInteractEvent(user, used, target, clickLocation);
|
||||||
RaiseLocalEvent(target, rangedMsg);
|
RaiseLocalEvent(target, rangedMsg);
|
||||||
|
|||||||
Reference in New Issue
Block a user