Topic: error: index `knockToTile` does not exist in throw_dirt_skill

  • Author
    Posts
  • #28700
    Avatar photolordmidas
    Participant

    On line 164 in scripts/skills/throw_dirt_skill.nut it says:
    if (!_user.isHiddenToPlayer() && (_targetTile.IsVisibleForPlayer || this.knockToTile.IsVisibleForPlayer))
    This leads to an error in the log because knockToTile does not exist in this.

    Solution:
    Change that line to:
    if (!_user.isHiddenToPlayer() && _targetTile.IsVisibleForPlayer)

    #29158
    Avatar photolordmidas
    Participant

    Just noticed that this has been fixed in vanilla (checked in version 1.5.0.12.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.