Skip to content

Commit

Permalink
came back and tried to remember what I was doing
Browse files Browse the repository at this point in the history
něco se vaří ;)
  • Loading branch information
CodyMarkix committed Jun 25, 2024
1 parent dc46dab commit 631e7a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Assets/Scenes/Nights/Night1.unity
Original file line number Diff line number Diff line change
Expand Up @@ -17471,14 +17471,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2133938903}
m_LocalRotation: {x: 0.33841506, y: 0.6208666, z: -0.62086654, w: 0.33841503}
m_LocalPosition: {x: -5.78, y: 0.953, z: -7.36}
m_LocalRotation: {x: 0, y: 0.7071068, z: -0.7071068, w: 0}
m_LocalPosition: {x: 2.87, y: 1.346, z: 17.79}
m_LocalScale: {x: 0.22044665, y: 0.22044665, z: 0.22044665}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 57.186996}
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0}
--- !u!114 &2133938910
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down
3 changes: 0 additions & 3 deletions Assets/Scripts/Office/Battery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ void Update() {
: 100;

batteryPercentage.text = string.Format("{0}%", percentage);
Debug.LogAssertion(string.Format("Charge: {0}; Discharge Float: {1}", charge, dischargeFloat));

// band-aid patch to get the game out as I promised, working on the issue! >~<
if (dischargeFloat < 0) {
/*
A negative number can result in battery charge going up and over 100%,
Expand Down

1 comment on commit 631e7a6

@yesseruser
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by mě zajímalo co se vaří

Please sign in to comment.