Module veloren_server::events::player

source ·

Functions§

  • FIXME: This code is dangerous and needs to be refactored. We can’t just comment it out, but it needs to be fixed for a variety of reasons. Get rid of this ASAP!
  • When a player logs out, their data is queued for persistence in the next tick of the persistence batch update unless the character logging out is dead and has hardcore enabled, in which case the character is deleted instead of being persisted. The player will be temporarily unable to log in during this period to avoid the race condition of their login fetching their old data and overwriting the data saved here.