forgottenserver icon indicating copy to clipboard operation
forgottenserver copied to clipboard

Undefined 'msgtype' at onPlayerEndTrade and onPlayerCloseChannel

Open EPuncker opened this issue 3 years ago • 0 comments

Before creating an issue, please ensure:

  • [x] This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/support.16/ for support)
  • [x] This issue is reproducible without changes to the C++ code in this repository

https://github.com/otland/forgottenserver/blob/4e1d996aac739bf0d4a78acf45e319bbffe651c9/data/npc/lib/npcsystem/npchandler.lua#L428-L445

The variable msgtype is not defined anywhere in these functions, maybe copy&paste issue?

Environment

Reproduction environment

EPuncker avatar May 01 '22 03:05 EPuncker