We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a4060 commit 8502e1bCopy full SHA for 8502e1b
addons/source-python/packages/source-python/players/_base.py
100644
100755
@@ -226,14 +226,14 @@ def _is_bot(self):
226
227
:rtype: bool
228
"""
229
- return self._is_bot
+ return self.is_fake_client() or self.steamid == 'BOT'
230
231
def is_bot(self):
232
"""Return whether the player is a bot.
233
234
235
236
- return self.is_fake_client() or self.steamid == 'BOT'
+ return self._is_bot
237
238
def is_in_a_vehicle(self):
239
"""Return whether the player is in a vehicle.
0 commit comments