diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index 2ce44efffba2f096055654f89749e0c0b7ad0e0a..dc783e56ed32c9b834a0629708c93fccc2c2b927 100644 --- a/src/uncategorized/seBirth.tw +++ b/src/uncategorized/seBirth.tw @@ -23,7 +23,7 @@ I need to break single passage to several widgets, as it's been overcomplicated <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].labor == 1>> - <<if undef $slaves[$i].laborCount>> + <<if ndef $slaves[$i].laborCount>> <<set $slaves[$i].laborCount = 0>> <<if $slaves[$i].birthsTotal > 0 && $slaves[$i].laborCount == 0>> <<set $slaves[$i].laborCount = $slaves[$i].birthsTotal>> /*we do not have a way to know multiples birth count for backward compatibility code. :( */