Page 1 of 1

[Rseding] [1.1.46] Ghost controller can open permissions but not close it

Posted: Sun Nov 07, 2021 1:56 pm
by Phoenix27833
I changed to ghost controller with

Code: Select all

/c game.player.set_controller{type=defines.controllers.ghost}
then open the permissions window with

Code: Select all

/permissions
Changing permissions in this state does not apply and you can not close the permissions window
I got out of the state by changing the controller type via command again

Re: [Rseding] [1.1.46] Ghost controller can open permissions but not close it

Posted: Sun Jan 16, 2022 6:52 pm
by Rseding91
Thanks for the report. I was going to "Fix" this but after thinking about it more I think i'm going to leave this as is. The "ghost" controller is meant to be used when a player dies and is respawning. If a mod sets someone to it manually it "works" (as in doesn't crash) but otherwise may have other side effects like this.

If you want a view-only controller the spectator controller is what you're looking for.