mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-17 20:10:21 +03:00
Fix mapspawn_addon not loading from VPK paths
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user