Skip to content

Fix incorrect vendor getting factions & classes access list updated on it#162

Merged
TovarischPootis merged 1 commit intoNutScript:1.2-stablefrom
Miyoglow:vendor-fix
Jul 24, 2024
Merged

Fix incorrect vendor getting factions & classes access list updated on it#162
TovarischPootis merged 1 commit intoNutScript:1.2-stablefrom
Miyoglow:vendor-fix

Conversation

@Miyoglow
Copy link
Contributor

@Miyoglow Miyoglow commented May 10, 2024

Currently when opening a vendor, the last vendor the player accessed has it's factions & classes lists set to instead of the new vendor, (the one the player is currently opening).

This PR will fix this issue by moving the calls net.Start("nutVendorAllowFaction") & net.Start("nutVendorAllowClass") to after sending the net.Start("nutVendorOpen") message, which the aforementioned functions rely on to work properly.

…ending open message, these calls rely on the vendor already being opened to work properly.
@Miyoglow Miyoglow changed the title Fix incorrect factions & classes being set for last accessed vendor Fix incorrect vendor getting factions & classes access list updated on it May 10, 2024
@TovarischPootis TovarischPootis merged commit 7f0971b into NutScript:1.2-stable Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants