diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:40:09 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:40:09 -0400 |
| commit | f797cbe348dd52b51da4cd4812cfa291d1434095 (patch) | |
| tree | df4fabacfc6819a981d750c510122f5bbda8083c /gamemode/itemsystem | |
| parent | a5932d386488030b6005c829fe343f74daed9893 (diff) | |
| parent | fd04cb695e1c0e6597456f2b1b7b076310fd81bf (diff) | |
| download | gmstranded-hotfix.tar.gz gmstranded-hotfix.tar.bz2 gmstranded-hotfix.zip | |
Merge branch 'structsystem'hotfix
Diffstat (limited to 'gamemode/itemsystem')
| -rw-r--r-- | gamemode/itemsystem/common.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/sprout.lua | 2 |
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) |
