Closed Martinator9001 closed 1 year ago
(that was a lot of R's)
This PR fixes the problem with ps-realtor's realtor tabs only working after a resource restart after the given user has loaded in.
Essentially copied what ps-realtor does when the resource starts, and pasted it to also do it when a player loads in.
Tabs now work without restarting the resource
Before: Start server, Load in, open /housing - no tabs. Restart ps-realtor - tabs appear. After: Start server, load in, open /housing - tabs appear.
I think that the problem happened due to the commit merge from bl-realtor, since that's when the problem appeared IIRC
Tried it out with the realtor in my server and there weren't any bugs with the tabs
(that was a lot of R's)
Overview
This PR fixes the problem with ps-realtor's realtor tabs only working after a resource restart after the given user has loaded in.
Details
Essentially copied what ps-realtor does when the resource starts, and pasted it to also do it when a player loads in.
UI Changes / Functionality
Tabs now work without restarting the resource
Testing Steps
Before: Start server, Load in, open /housing - no tabs. Restart ps-realtor - tabs appear. After: Start server, load in, open /housing - tabs appear.