Skip to content
Snippets Groups Projects
Commit 4da88ea3 authored by _no0neman's avatar _no0neman
Browse files

Fix update health on acquisition

parent 92ba723c
No related branches found
No related tags found
No related merge requests found
......@@ -845,6 +845,7 @@ The previous owner seems to have left in something of a hurry.
<<set $averageDevotion = 0>>
<<set _slavesContributing = 0>>
<<for $i = 0; $i < $slaves.length; $i++>>
<<run updateHealth($slaves[$i])>>
<<set $slaves[$i].oldDevotion = $slaves[$i].devotion>>
<<set $slaves[$i].oldTrust = $slaves[$i].trust>>
/* AVERAGE VALUES UPDATE */
......
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