Fix empty button error when the parameter is empty, by adding a space.
Fixes #60.
This commit is contained in:
parent
5c862e4962
commit
8e45b14be3
1 changed files with 3 additions and 0 deletions
|
@ -1328,6 +1328,9 @@ default
|
||||||
FIRST_FEMALE_ANIMATION_SEQUENCE = part1;
|
FIRST_FEMALE_ANIMATION_SEQUENCE = part1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Don't generate empty buttons (issue #60)
|
||||||
|
if (part0 == "B:")
|
||||||
|
part0 = "B: ";
|
||||||
if (command == "BUTTON" && part1 == "")
|
if (command == "BUTTON" && part1 == "")
|
||||||
{
|
{
|
||||||
part1 = "90200"; // default to rez prop
|
part1 = "90200"; // default to rez prop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue