Skip to content

Commit

Permalink
this variable shouldnt be static
Browse files Browse the repository at this point in the history
  • Loading branch information
Moffein committed Mar 19, 2024
1 parent eda4700 commit 5e333d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class PrimaryProjectileComponentSimple : MonoBehaviour
public float baseSpeed = 60f; //If projectile is faster than base speed, speed up time scaling to match;

//Hacky thing to make the VFX look less plain
public static GameObject secondaryVFX = Addressables.LoadAssetAsync<GameObject>("RoR2/Base/Loader/OmniImpactVFXLoaderLightning.prefab").WaitForCompletion();
public GameObject secondaryVFX = Addressables.LoadAssetAsync<GameObject>("RoR2/Base/Loader/OmniImpactVFXLoaderLightning.prefab").WaitForCompletion();

private float stopwatch;
private float initialRadius; //Always calculate size off of initial size
Expand Down

0 comments on commit 5e333d1

Please sign in to comment.