-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring in check to not allow users the ability to unpause admin pauses. #767
Conversation
I would recommend putting the variable reset inside the Unpause() helper method to ensure it always gets set to false, also if we move code around down the line. |
Missed util file.
@PhlexPlexico Current PR does not reset the variable at all. I think you forgot to add it to the utility function?
|
4541039
to
2cedebd
Compare
Hey sorry about that, guess I missed saving the util file when committing my changes to git. It should be good to go now, I've included back the setting |
Alright. |
Remove amibiguous extended pause and introduce new enums for pause types.
This is to ensure that it doesn't get fired off anywhere else. Also include a check to make sure a user isn't calling Pause with the None PauseType.
Also put in event cells as well.
3831702
to
2bd53f6
Compare
… a type. Remove duplicate ServerCommand since it appears in both clauses of if statement.
611808d
to
57278f4
Compare
Add small documentation note in commands about pausing as an admin.
Closes #737
Largely untested, so would need someone to confirm this works as intended, but I believe it should be default be false and the only way to really trigger it would be console pausing.