diff --git a/src/facilities/farmyard/farmyard.js b/src/facilities/farmyard/farmyard.js index d46bdd5f4a4f55bd0bb246d387701b85bbd510e1..9c21c86f856902d793ed25a8deb6b9cc11074348 100644 --- a/src/facilities/farmyard/farmyard.js +++ b/src/facilities/farmyard/farmyard.js @@ -1,9 +1,3 @@ -App.Facilities.Farmyard.clearAnimalsBought = function() { - for (const i in V.animalsBought) { - V.animalsBought[i] = 0; - } -}; - App.Facilities.Farmyard.rules = function() { const frag = new DocumentFragment(); @@ -528,3 +522,9 @@ App.Facilities.Farmyard.animalHousing = function() { return frag; }; + +App.Facilities.Farmyard.clearAnimalsBought = function() { + for (const i in V.animalsBought) { + V.animalsBought[i] = 0; + } +};