Naruto: Eternal Memories

by Eternal_Memories
Naruto: Eternal Memories
Join various worlds in a battle between the evil and the good!
ID:490360
 
BYOND Version:493
Operating System:Windows XP Pro
Web Browser:Chrome 17.0.963.78
Applies to:Game
Status: Open

Issue hasn't been assigned a status value.
Well, this is an old one but..If you un-fullscreen you can't fullscreen and it tries to fullscreen but fails every time a round starts.

I would create a maximize variable then do something like this
mob/verb/Fullscreen
if(Maximized)
winset(src,"TheControl","is-maximized=false")
winset(src,"TheControl","can-resize=true")
Maximized = FALSE
else
winset(src,"TheControl","is-maximized=true")
winset(src,"TheControl","can-resize=false")
Maximized = TRUE