Permalink
Browse files

Update weapon_ttt_teleport.lua

  • Loading branch information...
1 parent 2b96b64 commit ac95381db08a8f886a730e4455035a1d17e3247e @robotboy655 robotboy655 committed Apr 10, 2014
Showing with 5 additions and 5 deletions.
  1. +5 −5 garrysmod/gamemodes/terrortown/entities/weapons/weapon_ttt_teleport.lua
@@ -251,12 +251,12 @@ local function StartTeleport(ply, teleport)
util.Effect("teleport_beamup", edata_up)
local edata_dn = EffectData()
- edata_up:SetOrigin(teleport.pos)
+ edata_dn:SetOrigin(teleport.pos)
ang = Angle(0, ang.y, ang.r) -- deep copy
- edata_up:SetAngles(ang)
- edata_up:SetEntity(ply)
- edata_up:SetMagnitude(delay_beamup)
- edata_up:SetRadius(delay_beamdown)
+ edata_dn:SetAngles(ang)
+ edata_dn:SetEntity(ply)
+ edata_dn:SetMagnitude(delay_beamup)
+ edata_dn:SetRadius(delay_beamdown)
util.Effect("teleport_beamdown", edata_dn)
end

0 comments on commit ac95381

Please sign in to comment.