The leave function is working now but still getting an error when mugging
A critical error has occurred, and page execution has stopped. Below are the details:
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Action taken: Attempted to execute query: UPDATE `users`
SET `hp` = 1, `money` = `money` - 17, `hospital` = 30,
`hospreason` = 'Mugged by Dodger' WHERE `userid` =