Skip to content

Commit

Permalink
Fix issue all pawns are registered as surrogate and so eligible to Ha…
Browse files Browse the repository at this point in the history
…cking,...
  • Loading branch information
aRandomKiwi committed Aug 1, 2021
1 parent 3d853b0 commit 4eaca37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified 1.3/Assemblies/AndroidTiers.dll
Binary file not shown.
3 changes: 2 additions & 1 deletion Source/Androids For RW1.3/Components/CompAndroidState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ private void initComp()
if (isOrganic)
useBattery = false;

Utils.GCATPP.pushSurrogateAndroid(currentPawn);
if(isSurrogate)
Utils.GCATPP.pushSurrogateAndroid(currentPawn);

//Suppression traits blacklistés le cas echeant
if (isAndroidTier && (!isSurrogate || (isSurrogate && surrogateController != null && surrogateController.IsAndroidTier())))
Expand Down
Binary file modified Source/Androids For RW1.3/obj/Debug/AndroidTiers.dll
Binary file not shown.

0 comments on commit 4eaca37

Please sign in to comment.