summaryrefslogtreecommitdiff
path: root/gamemode/itemsystem
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem')
-rw-r--r--gamemode/itemsystem/common.lua2
-rw-r--r--gamemode/itemsystem/items/sprout.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/gamemode/itemsystem/common.lua b/gamemode/itemsystem/common.lua
index edaac31..37ae388 100644
--- a/gamemode/itemsystem/common.lua
+++ b/gamemode/itemsystem/common.lua
@@ -1,7 +1,7 @@
--This file holds a bunch of common functions that happen in items. They're seperated out here so that they're easy to change if there's a bug somewhere.
--[[
Provides:
- startProcessGeneric(player_player, string_message, number_time, function_ondone)
+ startProcessGeneric(player_player, string_message, number_time, function_ondone(player_player))
Freezes the player, creates the loading bar, and calls ondone when the timer is up.
]]
diff --git a/gamemode/itemsystem/items/sprout.lua b/gamemode/itemsystem/items/sprout.lua
index 3aab4c5..d5ae254 100644
--- a/gamemode/itemsystem/items/sprout.lua
+++ b/gamemode/itemsystem/items/sprout.lua
@@ -12,7 +12,7 @@ ITEM.OnGrow = function(self, aor, owner)
ent:SetPos( self:GetPos() )
ent:Spawn()
ent.GMSAutoSpawned = true
- ent:SetNetworkedString( "Owner", "World" )
+ ent:SetNWString( "Owner", "World" )
end
genericMakePlantable(ITEM)