More crash fixes

This commit is contained in:
Vera Aguilera Puerto 2021-12-06 15:56:14 +01:00
parent c57b07a4d0
commit 0577f60df6
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ namespace Content.Server.Interaction
if (InteractDoBefore(user, used, inRangeUnobstructed ? target : null, clickLocation, false))
return true;
if (target != null)
if (target != default)
{
var rangedMsg = new RangedInteractEvent(user, used, target, clickLocation);
RaiseLocalEvent(target, rangedMsg);