Skip to content
Snippets Groups Projects
Commit 47a3f839 authored by pregmodfan's avatar pregmodfan
Browse files

pregData through deep copy again, debugging finished

parent 9e0f1423
No related branches found
No related tags found
1 merge request!3038Pregmod pregnancy advanced control
...@@ -47,9 +47,9 @@ window.WombInit = function(actor) { ...@@ -47,9 +47,9 @@ window.WombInit = function(actor) {
if ( actor.pregData == undefined) if ( actor.pregData == undefined)
{ {
//actor.pregData = deepCopy( setup.pregData.human ); actor.pregData = deepCopy( setup.pregData.human );
//Setup should be through deep copy, so in future, if we like, these values can be changed individually. Gameplay expansion posibilities. But for dev time to simplify debugging: //Setup should be through deep copy, so in future, if we like, these values can be changed individually. Gameplay expansion posibilities. But for dev time to simplify debugging:
actor.pregData = setup.pregData.human; // any changes in setup pregData template will be applied immideatly to all. But can't be made seperate changes. //actor.pregData = setup.pregData.human; // any changes in setup pregData template will be applied immideatly to all. But can't be made seperate changes.
} }
//backward compatibility setup. Fully accurate for normal pregnancy only. //backward compatibility setup. Fully accurate for normal pregnancy only.
......
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