diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:06:26 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:06:26 -0400 |
| commit | 4adec24c3a2a53f518d817ae8a6ddd0c4c47422c (patch) | |
| tree | adb91a867dfda05f5c2880e19d0111fb657ecb9f /gamemode/spp | |
| parent | 699df0d5df4e7d00a0d2b838b8c851c9b5027cea (diff) | |
| download | gmstranded-4adec24c3a2a53f518d817ae8a6ddd0c4c47422c.tar.gz gmstranded-4adec24c3a2a53f518d817ae8a6ddd0c4c47422c.tar.bz2 gmstranded-4adec24c3a2a53f518d817ae8a6ddd0c4c47422c.zip | |
more work on the structure system
Diffstat (limited to 'gamemode/spp')
| -rw-r--r-- | gamemode/spp/sv_init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/spp/sv_init.lua b/gamemode/spp/sv_init.lua index a4df311..d4eb2d2 100644 --- a/gamemode/spp/sv_init.lua +++ b/gamemode/spp/sv_init.lua @@ -223,7 +223,7 @@ hook.Add( "InitPostEntity", "spp_map_ents", function() local WorldEnts = 0 for k, v in pairs( ents.GetAll() ) do if ( !v:IsPlayer() and !v:GetNWString( "Owner", false ) ) then - v:SetNetworkedString( "Owner", "World" ) + v:SetNWString( "Owner", "World" ) WorldEnts = WorldEnts + 1 end end |
