forked from Mythikos/gmod-flood-2.0
Merge branch 'master' of https://github.com/rain-rain-bob-sss/gmod-flood-2.2
This commit is contained in:
commit
acc8e073d1
@ -37,6 +37,7 @@ local OBS_KEY=table.GetKeys(OBS)
|
||||
local MA=#OBS
|
||||
function MetaPlayer:CycleOBSMode()
|
||||
local OBSMODE=self.OBSMODE
|
||||
if(not OBSMODE)then OBSMODE=1 end
|
||||
local i=OBS_KEY[OBSMODE]
|
||||
if(i+1>MA)then
|
||||
i=1
|
||||
@ -44,5 +45,5 @@ function MetaPlayer:CycleOBSMode()
|
||||
i=i+1
|
||||
end
|
||||
self.OBSMODE=OBS[i]
|
||||
self:CycleSpectator(0)
|
||||
end
|
||||
self:SetObserverMode(OBS[i])
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user