mirror of
				https://github.com/JezuzLizard/T4SP-Server-Plugin.git
				synced 2025-10-30 17:27:01 +00:00 
			
		
		
		
	check if it already stars for it
This commit is contained in:
		| @@ -57,7 +57,7 @@ namespace fileio | ||||
| 				game::Scr_Error(utils::string::va("Invalid path: %s", path.c_str()), game::SCRIPTINSTANCE_SERVER, false); | ||||
| 			} | ||||
|  | ||||
| 			return "scriptdata/" + path; | ||||
| 			return path.starts_with("scriptdata/") ? path : "scriptdata/" + path; | ||||
| 		} | ||||
|  | ||||
| 		std::filesystem::path build_full_path(const std::string& path) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user