forked from Nebual/NadmodPP
stop SourceTV bot from breaking spawn menu
This commit is contained in:
parent
4dbf07b6f9
commit
a160ad60b1
@ -206,7 +206,11 @@ function metaply:SteamID64bot()
|
||||
if( not IsValid( self ) ) then return end
|
||||
if self:IsBot() then
|
||||
-- Calculate Bot's SteamID64 according to gmod wiki
|
||||
return ( 90071996842377216 + tonumber( string.sub( self:Nick(), 4) ) -1 )
|
||||
if self:Nick() == "SourceTV" then
|
||||
return 90071996842377216
|
||||
else
|
||||
return ( 90071996842377217 + tonumber( string.sub( self:Nick(), 4) ) -1 )
|
||||
end
|
||||
else
|
||||
return self:SteamID64()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user