Laser pointers no longer make felinids phase through diagonal gaps (#85755)

## About The Pull Request

Someone forgot the dir argument, making it possible to phase through
diagonal gaps.

## Why It's Good For The Game

One less bug. I like my gbp

## Changelog

🆑
fix: Felinids no longer phase through diagonal gaps upon seeing a laser
/🆑
This commit is contained in:
Waterpig
2024-08-12 16:16:02 +02:00
committed by GitHub
parent 23cf4c65a3
commit e7bfcac8bb
@@ -277,7 +277,7 @@
target_felinid.setDir(get_dir(target_felinid, targloc)) // kitty always looks at the light
if(prob(effectchance * diode.rating))
target_felinid.visible_message(span_warning("[target_felinid] makes a grab for the light!"), span_userdanger("LIGHT!"))
target_felinid.Move(targloc)
target_felinid.Move(targloc, get_dir(target_felinid, targloc))
log_combat(user, target_felinid, "moved with a laser pointer", src)
else
target_felinid.visible_message(span_notice("[target_felinid] looks briefly distracted by the light."), span_warning("You're briefly tempted by the shiny light..."))