Adjusted script command bindatcmd (#2518)

* Fixes #2513.
* Defaulted the char-command level to 100.
Thanks to @mazvi and @Lemongrass3110!
This commit is contained in:
Aleos
2017-10-16 14:49:39 -04:00
committed by GitHub
parent 7991f47a01
commit b4106eb988
2 changed files with 2 additions and 1 deletions

View File

@@ -20826,7 +20826,7 @@ BUILDIN_FUNC(freeloop) {
BUILDIN_FUNC(bindatcmd) {
const char* atcmd;
const char* eventName;
int i, level = 0, level2 = 0;
int i, level = 0, level2 = 100;
bool create = false;
atcmd = script_getstr(st,2);