diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-04 14:00:01 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-01-04 14:00:01 -0500 |
| commit | ae915e116af58554ca66245827079859a1facb83 (patch) | |
| tree | 5fdc3da2c874063db813a50bc458987557dfbc64 /gamemode | |
| parent | f40fadc72117be3ea8b5368aeef2a8649762d82d (diff) | |
| download | wintersurvival2-ae915e116af58554ca66245827079859a1facb83.tar.gz wintersurvival2-ae915e116af58554ca66245827079859a1facb83.tar.bz2 wintersurvival2-ae915e116af58554ca66245827079859a1facb83.zip | |
Fix about nameing in structures
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/itemsystem/items/alter.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/campfire.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/fence.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/floor.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/infuser.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/ramp.lua | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/gamemode/itemsystem/items/alter.lua b/gamemode/itemsystem/items/alter.lua index 891f15c..c661ebb 100644 --- a/gamemode/itemsystem/items/alter.lua +++ b/gamemode/itemsystem/items/alter.lua @@ -57,7 +57,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Angle(0,Aim,0))
diff --git a/gamemode/itemsystem/items/campfire.lua b/gamemode/itemsystem/items/campfire.lua index 4e35932..5295552 100644 --- a/gamemode/itemsystem/items/campfire.lua +++ b/gamemode/itemsystem/items/campfire.lua @@ -74,7 +74,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Aim)
drop:SetPos(Pos)
diff --git a/gamemode/itemsystem/items/fence.lua b/gamemode/itemsystem/items/fence.lua index 8616a09..1749713 100644 --- a/gamemode/itemsystem/items/fence.lua +++ b/gamemode/itemsystem/items/fence.lua @@ -50,7 +50,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Aim)
drop:SetPos(Pos)
diff --git a/gamemode/itemsystem/items/floor.lua b/gamemode/itemsystem/items/floor.lua index 0e7cd8a..7db8999 100644 --- a/gamemode/itemsystem/items/floor.lua +++ b/gamemode/itemsystem/items/floor.lua @@ -51,7 +51,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Aim)
drop:SetPos(Pos)
diff --git a/gamemode/itemsystem/items/infuser.lua b/gamemode/itemsystem/items/infuser.lua index 701a548..53aedf7 100644 --- a/gamemode/itemsystem/items/infuser.lua +++ b/gamemode/itemsystem/items/infuser.lua @@ -48,7 +48,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Aim)
drop:SetPos(Pos)
diff --git a/gamemode/itemsystem/items/ramp.lua b/gamemode/itemsystem/items/ramp.lua index 2954399..7b9e5f2 100644 --- a/gamemode/itemsystem/items/ramp.lua +++ b/gamemode/itemsystem/items/ramp.lua @@ -51,7 +51,7 @@ function ITEM:OnPrimary(pl,tr) Pos.x = Pos.x - (Pos.x%20)
Pos.y = Pos.y - (Pos.y%20)
Pos.z = Pos.z - (Pos.z%20)
- Ang.yaw = Ang.yaw - (Ang.yaw%15)
+ Aim.yaw = Aim.yaw - (Aim.yaw%15)
end
drop:SetAngles(Aim)
drop:SetPos(Pos)
|
