mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Revert "Decrement instead of increment queue value"
This reverts commit 2f308c3ab6
.
This commit is contained in:
parent
1ee1b0d84f
commit
114fc745f0
Binary file not shown.
@ -50,7 +50,7 @@ namespace ConformalDecals {
|
|||||||
[KSPField] public MaterialPropertyCollection materialProperties;
|
[KSPField] public MaterialPropertyCollection materialProperties;
|
||||||
[KSPField] public Material decalMaterial;
|
[KSPField] public Material decalMaterial;
|
||||||
|
|
||||||
private static int _decalQueueCounter = 0;
|
private static int _decalQueueCounter = -1;
|
||||||
|
|
||||||
private List<ProjectionTarget> _targets;
|
private List<ProjectionTarget> _targets;
|
||||||
|
|
||||||
@ -63,9 +63,9 @@ namespace ConformalDecals {
|
|||||||
|
|
||||||
private int DecalQueue {
|
private int DecalQueue {
|
||||||
get {
|
get {
|
||||||
_decalQueueCounter--;
|
_decalQueueCounter++;
|
||||||
if (_decalQueueCounter < decalQueueRange.x) {
|
if (_decalQueueCounter > decalQueueRange.y || _decalQueueCounter < decalQueueRange.x) {
|
||||||
_decalQueueCounter = (int) decalQueueRange.y;
|
_decalQueueCounter = (int) decalQueueRange.x;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Log($"returning decal queue value {_decalQueueCounter}");
|
this.Log($"returning decal queue value {_decalQueueCounter}");
|
||||||
|
Loading…
Reference in New Issue
Block a user