mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-28 06:33:00 +00:00
can_run() only checked the user's worn/held ID via GetIdCard(), ignoring any card inserted into the computer's RFID card slot. This caused access-locked software to always show an RFID error for users relying on a slotted card. Three fixes: - can_run(): add explicit_card param; resolution order is explicit_card, then user.GetIdCard(), then computer.card_slot.stored_card - run_program(): set TM.using_access from the slotted card when present, falling back to user.GetAccess() - ntdownloader.dm: pass my_computer.card_slot.stored_card to can_run() so the software download list respects the slotted card