From 76e13f57acc893c26e6e9e8d1fb3055104177c41 Mon Sep 17 00:00:00 2001 From: pregmodfan <pregmodfan@cock.li> Date: Thu, 29 Mar 2018 03:25:08 +0300 Subject: [PATCH] syntax fix --- src/uncategorized/seBirth.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw index 2ce44efffba..dc783e56ed3 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. :( */ -- GitLab