Skip to content
Snippets Groups Projects
Commit 7c476ded authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-master-bugfix' into 'pregmod-master'

Syntax fix in seBirth

See merge request !1676
parents f5a8aedd 50681698
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