Skip to content

Commit

Permalink
fix telepathic circuits fading out everyones screen
Browse files Browse the repository at this point in the history
  • Loading branch information
MattJeanes committed Jan 12, 2024
1 parent fa146b6 commit 567e154
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/tardis/parts/parts_default_controls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ function PART:Use(ply)
self:SetData("default_telepathic_activation", RealTime() + 1)
end

ply:ScreenFade(SCREENFADE.OUT, Color(255,255,255,30), 1.2, 0)
if SERVER then
ply:ScreenFade(SCREENFADE.OUT, Color(255,255,255,30), 1.2, 0)
end

self.interior:Timer("default_telepathic", 1, function()
if SERVER then
Expand Down

0 comments on commit 567e154

Please sign in to comment.