mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-04 17:50:30 +03:00
Fix mapspawn_addon not loading from VPK paths
This commit is contained in:
parent
c3f0509e72
commit
bdef83449e
@ -453,8 +453,7 @@ void RunAddonScripts()
|
||||
|
||||
// mapspawn_addon
|
||||
char fullpath[MAX_PATH];
|
||||
Q_snprintf( fullpath, sizeof( fullpath ), "%sscripts/vscripts/mapspawn_addon", path );
|
||||
Q_FixSlashes( fullpath );
|
||||
Q_ComposeFileName( path, "scripts/vscripts/mapspawn_addon", fullpath, sizeof( fullpath ) );
|
||||
|
||||
VScriptRunScriptAbsolute( fullpath, NULL, false, folderName );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user