Skip to content

Commit

Permalink
Updated changelog and comments
Browse files Browse the repository at this point in the history
Fixed small memory leak due to not releasing a callback from a GameEvent
  • Loading branch information
linuxgurugamer committed Mar 24, 2023
1 parent b490dcc commit 748f7d2
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 4 deletions.
18 changes: 17 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,20 @@ Changelog

2.6.1.3
Thanks to github user @SpoonyBoobah for this:
Completed ALL Science Experiments and activated them in the cfg's
Completed ALL Science Experiments and activated them in the cfg's

2.6.2
Thanks to github user @grimmas for this:
Added support for Dynamic Battery Storage mod
added USI life support options
Thanks to github user @jd284 for this:
Fix inability to remove obsolete experiments

Following delayed:
Thanks to github user @spoonyBoobah for this:
Added 2 experiments to StationScience, Zoology Observations & Zoology Observations

Fixed small memory leak due to not releasing a callback from a GameEvent

Thanks to github user @Grimmas for this patch:
System Heat supported by patch
6 changes: 3 additions & 3 deletions StationScience.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"VERSION": {
"MAJOR": 2,
"MINOR": 6,
"PATCH": 1,
"BUILD": 3
"PATCH": 2,
"BUILD": 0
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 3
"PATCH": 5
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
26 changes: 26 additions & 0 deletions StationScience.version.1-12-3
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"NAME": "MOARStationScience",
"URL": "http://ksp.spacetux.net/avc/StationScience",
"DOWNLOAD": "https://github.com/linuxgurugamer/StationScience/releases",
"GITHUB": {
"USERNAME": "linuxgurugamer",
"REPOSITORY": "StationScience",
"ALLOW_PRE_RELEASE": false
},
"VERSION": {
"MAJOR": 2,
"MINOR": 6,
"PATCH": 1,
"BUILD": 3
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 3
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 8,
"PATCH": 1
}
}
5 changes: 5 additions & 0 deletions StationScience/StnSciScenario.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ internal void Awake()
started = true;
}

void OnDestroy()
{
GameEvents.Contract.onContractsLoaded.Remove(OnContractsLoaded);
}

public void OnContractsLoaded()
{
print("Contracts Loaded");
Expand Down

0 comments on commit 748f7d2

Please sign in to comment.