Skip to content

Commit

Permalink
♻️ vfx registration on player attach
Browse files Browse the repository at this point in the history
  • Loading branch information
Roms1383 committed Oct 27, 2024
1 parent 3f6ce28 commit 3f4b065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/Addicted/System.reds
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public class AddictedSystem extends ScriptableSystem {
let player: ref<PlayerPuppet> = GetPlayer(this.GetGameInstance());
if IsDefined(player) {
E(s"on player attach");
RegisterVFXs(player);
this.player = player;
this.delaySystem = GameInstance.GetDelaySystem(this.player.GetGame());
this.timeSystem = GameInstance.GetTimeSystem(this.player.GetGame());
Expand Down

0 comments on commit 3f4b065

Please sign in to comment.