diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 14:09:16 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2015-12-30 14:09:16 -0500 |
| commit | a3a9aa4ba567a42c04adfd790049de8b390ee2d5 (patch) | |
| tree | 346bbd9d4484858b9476349d253197a792a1c4f7 /gamemode/itemsystem/items/sword.lua | |
| parent | 383aebf4bd5cfaf31702b3b5bbf94d331d6256fd (diff) | |
| download | wintersurvival2-a3a9aa4ba567a42c04adfd790049de8b390ee2d5.tar.gz wintersurvival2-a3a9aa4ba567a42c04adfd790049de8b390ee2d5.tar.bz2 wintersurvival2-a3a9aa4ba567a42c04adfd790049de8b390ee2d5.zip | |
Allowed aidirector to spawn dodos
Diffstat (limited to 'gamemode/itemsystem/items/sword.lua')
| -rw-r--r-- | gamemode/itemsystem/items/sword.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gamemode/itemsystem/items/sword.lua b/gamemode/itemsystem/items/sword.lua index 47388d2..0da38c3 100644 --- a/gamemode/itemsystem/items/sword.lua +++ b/gamemode/itemsystem/items/sword.lua @@ -37,9 +37,9 @@ function ITEM:OnPrimary(pl,tr) if (IsValid(tr.Entity)) then
local ent = tr.Entity
local class = ent:GetClass()
- print("Class:")
- print(class)
-
+ --print("Class:")
+ --print(class)
+
if (class == "player" or class:find("npc_") or class == "ws_pigeon" or class == "ws_prop") then
ent:TakeDamage(self.Damage,pl)
|
