Permalink
Browse files

Fixed not finding libtier0.so (CS:GO)

  • Loading branch information...
Ayuto committed Jan 2, 2018
1 parent 07aae2d commit e3cbc89033c3038359b03a85c9fb4d1c612a949d
Showing with 7 additions and 1 deletion.
  1. +7 −1 addons/source-python/plugins/es_emulator/helpers.py
@@ -103,6 +103,10 @@
# =============================================================================
# >> GLOBAL VARIABLES
# =============================================================================
NO_SRV_CHECK_GAMES = [
'csgo'
]
if PLATFORM == 'windows':
clib = memory.find_binary('msvcrt.dll')
tier1 = memory.find_binary('bin/tier0')
@@ -112,7 +116,9 @@
raise ValueError('Unable to find C library.')
clib = memory.find_binary(clib_path, check_extension=False)
tier1 = memory.find_binary('bin/libtier0')
tier1 = memory.find_binary(
'bin/libtier0',
SOURCE_ENGINE_BRANCH not in NO_SRV_CHECK_GAMES)
sv_cheats = cvar.find_var('sv_cheats')

0 comments on commit e3cbc89

Please sign in to comment.