RanvierMUD / core

Core engine code for Ranvier
https://ranviermud.com
MIT License
45 stars 40 forks source link

lostFollower emit breaks teleport because follower is undefined #45

Closed atarsha closed 5 years ago

atarsha commented 5 years ago

Error on line 537 of Character.js

when emitting lostFollower, follower is undefined. Passing target instead.

This is evident in the code and causes a reproducible issue in game:

Log in, teleport limbo:black where the puppy will start following you. Go west, then teleport limbo:black again. Check your Ranvier logs for the undefined error.

seanohue commented 5 years ago

Good catch! LGTM, though I haven't tested it locally yet.