fix the broken :D
This commit is contained in:
@@ -191,6 +191,7 @@ namespace BoneSync.Patching
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* // DONT USE THIS PATCH, CRASHES GAME WITH NO ERROR
|
||||||
[HarmonyPatch(nameof(Poolee.Despawn), new Type[] { typeof(Il2CppSystem.Nullable<bool>), typeof(Il2CppSystem.Nullable<Color>) }), HarmonyPrefix]
|
[HarmonyPatch(nameof(Poolee.Despawn), new Type[] { typeof(Il2CppSystem.Nullable<bool>), typeof(Il2CppSystem.Nullable<Color>) }), HarmonyPrefix]
|
||||||
private static bool DespawnPatchPre(Poolee __instance, ref Il2CppSystem.Nullable<bool> playVFX, ref Il2CppSystem.Nullable<Color> despawnColor)
|
private static bool DespawnPatchPre(Poolee __instance, ref Il2CppSystem.Nullable<bool> playVFX, ref Il2CppSystem.Nullable<Color> despawnColor)
|
||||||
{
|
{
|
||||||
@@ -203,7 +204,7 @@ namespace BoneSync.Patching
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ namespace BoneSync.Sync.Components
|
|||||||
public bool isStale => Time.realtimeSinceStartup - _lastSyncTime > 5f;
|
public bool isStale => Time.realtimeSinceStartup - _lastSyncTime > 5f;
|
||||||
public bool isOwner => _ownerId == BoneSync.lobby.GetLocalId();
|
public bool isOwner => _ownerId == BoneSync.lobby.GetLocalId();
|
||||||
|
|
||||||
public bool isValid => this != null && gameObject != null;
|
public bool isValid => this != null;
|
||||||
|
|
||||||
public void SetInHolster(bool val)
|
public void SetInHolster(bool val)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user