Skip to content

Commit

Permalink
Version Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Morichalion committed May 29, 2020
1 parent 9f9083b commit b11872f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
Binary file modified .vs/MoriBScam/v16/.suo
Binary file not shown.
Binary file modified .vs/MoriBScam/v16/Server/sqlite3/storage.ide-wal
Binary file not shown.
15 changes: 9 additions & 6 deletions MoriBScam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class MoriBScam : IPluginCameraBehaviour {
// Author name.
public string author => "Morichalion";
// Plugin version.
public string version => "0.0.20";
public string version => "0.0.21";
// Localy store the camera helper provided by LIV.
PluginCameraHelper _helper;
//float _elaspedTime;
Expand Down Expand Up @@ -261,8 +261,9 @@ public void CheckSettings()
if (!line.Contains("no"))
{
overlayactive = true;

}
else { overlayactive = false; }
}
if (line.Contains("OverlayScale ="))
{
Expand Down Expand Up @@ -720,9 +721,10 @@ public void OnActivate(PluginCameraHelper helper) {

debug("Activated right");
Activated = true;

oLay.debugLogging = debugLogging;

if (overlayactive == true)
{
oLay.debugLogging = debugLogging;
}
}

public float handsraised = 0.0f;
Expand Down Expand Up @@ -805,11 +807,12 @@ public void OnFixedUpdate() {
// and has not been updated yet. If that is a concern, it is recommended to use OnLateUpdate instead.
public void OnUpdate() {
if(Activated == false) { goto OnUpdateEnd; }
oLay.OnUpdate();

Transform headTransform = _helper.playerHead;
//overlay stuff. Should only be messed with if it's active.
if (overlayactive == true)
{
oLay.OnUpdate();
overPercent.text = scorePercent;
overScore.text = "Score: " + score;
overRank.text = rank;
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.20")]
[assembly: AssemblyFileVersion("0.0.20")]
[assembly: AssemblyVersion("0.0.21")]
[assembly: AssemblyFileVersion("0.0.21")]
Binary file modified obj/x64/Plugin/MoriBScam.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/x64/Plugin/MoriBScam.dll
Binary file not shown.

0 comments on commit b11872f

Please sign in to comment.