[MIRROR] "You step on the floor!" caltrop fixes (#8064)

* "You step on the floor!" caltrop fixes (#61279)

The chat feedback for stepping on an object with a caltrop component still erroneously reads out the turf instead of the object.

* "You step on the floor!" caltrop fixes

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-09-09 08:18:18 +12:00
committed by GitHub
co-authored by Ghom
parent d09b86a15e
commit e7e3ed1fd2
+2 -2
View File
@@ -91,8 +91,8 @@
if(!(flags & CALTROP_SILENT) && !H.has_status_effect(/datum/status_effect/caltropped))
H.apply_status_effect(/datum/status_effect/caltropped)
H.visible_message(
span_danger("[H] steps on [source]."),
span_userdanger("You step on [source]!")
span_danger("[H] steps on [parent]."),
span_userdanger("You step on [parent]!")
)
H.apply_damage(damage, BRUTE, picked_def_zone, wound_bonus = CANT_WOUND)