mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
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:
@@ -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..."))
|
||||
|
||||
Reference in New Issue
Block a user