Closed ItsSpencer closed 1 year ago
Before: When standing outside of a vehicle and opening the vehicle wheel menu, nothing did happen on lock/unlock menu action.
Reason: The emit to the server didn't send the vehicle property with it, so the server just checked for the vehicle a player is sitting in.
After: The emit includes the selected vehicle entity and the lock/unlock menu action works properly.
Before: When standing outside of a vehicle and opening the vehicle wheel menu, nothing did happen on lock/unlock menu action.
Reason: The emit to the server didn't send the vehicle property with it, so the server just checked for the vehicle a player is sitting in.
After: The emit includes the selected vehicle entity and the lock/unlock menu action works properly.