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

Merge branch 'pregmod-dev' into 'pregmod-master'

Better safety

Closes #789

See merge request pregmodfan/fc-pregmod!4674
parents 68b7a944 3d71f8b2
No related branches found
No related tags found
No related merge requests found
...@@ -115,10 +115,10 @@ ...@@ -115,10 +115,10 @@
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
<<set _fuckCount = Math.ceil((($dormitoryPopulation+$roomsPopulation)+random((($dormitoryPopulation+$roomsPopulation)*1),($dormitoryPopulation+$roomsPopulation)*7))/$subSlaves)>> <<if $subSlaves <= 0>>
<<if _fuckCount <= 0>> <<set $subSlaves = 1>>
<<set _fuckCount = 1>>
<</if>> <</if>>
<<set _fuckCount = Math.ceil((($dormitoryPopulation+$roomsPopulation)+random((($dormitoryPopulation+$roomsPopulation)*1),($dormitoryPopulation+$roomsPopulation)*7))/$subSlaves)>>
<<run SimpleSlaveFucking($slaves[$i], _fuckCount)>> <<run SimpleSlaveFucking($slaves[$i], _fuckCount)>>
<<set $slaves[$i].need -= 2*_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