Skip to content
Snippets Groups Projects
Commit 76e13f57 authored by pregmodfan's avatar pregmodfan
Browse files

syntax fix

parent fd92b8d7
No related branches found
No related tags found
2 merge requests!2047RA rework,!1676Syntax fix in seBirth
...@@ -23,7 +23,7 @@ I need to break single passage to several widgets, as it's been overcomplicated ...@@ -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++>> <<for $i to 0; $i < $slaves.length; $i++>>
<<if $slaves[$i].labor == 1>> <<if $slaves[$i].labor == 1>>
<<if undef $slaves[$i].laborCount>> <<if ndef $slaves[$i].laborCount>>
<<set $slaves[$i].laborCount = 0>> <<set $slaves[$i].laborCount = 0>>
<<if $slaves[$i].birthsTotal > 0 && $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. :( */ <<set $slaves[$i].laborCount = $slaves[$i].birthsTotal>> /*we do not have a way to know multiples birth count for backward compatibility code. :( */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment