Author Topic: if(!$addedBlahMaps)  (Read 966 times)

Whats it do and how do you know what but in-place of Blah? I've only seen it before the remap stuff.

When the game starts, no Controls are in the options menu. However, Badspot's client code auto-adds some like Move Forwards/etc and loads your set keybinds. (W, say)

When you first start the game, all your client files are executed, so the Macro Saver (I assume that's where your remap stuff is from) loads its keybinds because that variable is false, not initialised, then sets it to true.

When you join a server it is done again - if the variable didn't exist you'd end up with two copies of your Macro Saver keybinds. Since it is there, they are only added once, on startup.

$addedBlahMaps is just an indicator that it is for determining whether that set of keybinds are done, not for something else. A Deathmatch mod likely won't use "$addedRPGmaps" for its GUI keybinds.