From a169c98823677ab5603c3991968a0c02f065c8ea Mon Sep 17 00:00:00 2001 From: Bukz Date: Tue, 25 Jun 2013 21:35:35 +0000 Subject: [PATCH] fullscreenscript simplified git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7500 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scripts.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scripts.cfg b/config/scripts.cfg index 59ff0330..b04fc144 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -67,7 +67,7 @@ const gibsgore [ // "fullscreenscript" command: // This command allows swapping of fullscreen mode to be bound to a key. -const fullscreenscript [ if $fullscreen [ fullscreen 0 ] [ fullscreen 1 ] ] +const fullscreenscript [ fullscreen (! $fullscreen) ] const editmapmsg [ saycommand (concat "/mapmsg" (addpunct (getmapmsg))) ] const return [ result $arg1 ] const run [ exec (concatword config/ $arg1 .cfg) ]