Skip to content

Commit

Permalink
1.0.72.659
Browse files Browse the repository at this point in the history
  • Loading branch information
SphereII committed Sep 5, 2024
1 parent 40eace8 commit 3303f6d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Mods/0-SCore/Features/SCoreOptions/Scripts/ProcessOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

public class ProcessSCoreOptions {
public static void ProcessCVars(string cvar) {
if (SingletonMonoBehaviour<ConnectionManager>.Instance.IsServer) return;

if (string.IsNullOrEmpty(cvar)) return;
var player = GameManager.Instance.World.GetPrimaryPlayer();

if (player == null) return;
var cvarValue = player.Buffs.GetCustomVar(cvar);
switch (cvar)
{
Expand Down
1 change: 1 addition & 0 deletions Mods/0-SCore/Harmony/ModEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public static void Init() {
ModletChecks();
ModEvents.GameStartDone.RegisterHandler(CheckExternalParticles);
ModEvents.GameStartDone.RegisterHandler(EntityPool);

ModEvents.PlayerSpawnedInWorld.RegisterHandler(CheckGraphicSettings);
// When player starts a game
// ModEvents.GameShutdown.RegisterHandler(new Action(FireManager.Instance.CleanUp));
Expand Down
2 changes: 1 addition & 1 deletion Mods/0-SCore/ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<Description value="SCore Mod" />
<DisplayName value="0-SCore" />
<Website value="" />
<Version value="1.0.71.2148" />
<Version value="1.0.72.659" />
</xml>
4 changes: 2 additions & 2 deletions Mods/0-SCore/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("20.0.*")]

[assembly: AssemblyVersion("1.0.71.2148")]
[assembly: AssemblyFileVersion("1.0.71.2148")]
[assembly: AssemblyVersion("1.0.72.0659")]
[assembly: AssemblyFileVersion("1.0.72.0659")]
4 changes: 4 additions & 0 deletions Mods/0-SCore/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Direct Download to the 0-SCore.zip available on gitlab mirror:
### Change Logs

[ Change Log ]
Version: 1.0.72.659
[ Process Options ]
- Added additional checks again a player being null or being on dedi.

Version: 1.0.71.2148
[ Remote Crafting / Repair ]
- Fixed an issue where 2x the amount of resources was available. Display only bug.
Expand Down
Binary file modified Mods/0-SCore/SCore.dll
Binary file not shown.
Binary file modified Mods/0-SCore/SCore.pdb
Binary file not shown.

0 comments on commit 3303f6d

Please sign in to comment.