srvpro icon indicating copy to clipboard operation
srvpro copied to clipboard

Fix random duel tag rooms using 2-player capacity

Open scarletkc opened this issue 3 months ago • 0 comments

Summary

  • interpolate the original random duel request type so tag mode rooms fall back to 4-player capacity calculations
  • guard lookups in ROOM_find_or_create_random to skip rooms without random duel metadata
  • default the capacity helper to the chosen duel type when rooms haven't been fully initialized yet

Testing

  • npx coffee -c ygopro-server.coffee
  • npx tsc --noEmit

scarletkc avatar Sep 26 '25 06:09 scarletkc