Skip to content
Snippets Groups Projects
Commit ae649046 authored by Pregmodder's avatar Pregmodder Committed by lowercasedonkey
Browse files

Better safety

parent 2c8e5fab
No related branches found
No related tags found
No related merge requests found
......@@ -115,10 +115,10 @@
<</if>>
<</if>>
<</if>>
<<set _fuckCount = Math.ceil((($dormitoryPopulation+$roomsPopulation)+random((($dormitoryPopulation+$roomsPopulation)*1),($dormitoryPopulation+$roomsPopulation)*7))/$subSlaves)>>
<<if _fuckCount <= 0>>
<<set _fuckCount = 1>>
<<if $subSlaves <= 0>>
<<set $subSlaves = 1>>
<</if>>
<<set _fuckCount = Math.ceil((($dormitoryPopulation+$roomsPopulation)+random((($dormitoryPopulation+$roomsPopulation)*1),($dormitoryPopulation+$roomsPopulation)*7))/$subSlaves)>>
<<run SimpleSlaveFucking($slaves[$i], _fuckCount)>>
<<set $slaves[$i].need -= 2*_fuckCount>>
......
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