projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
board pose
[carveJwlIkooP6JGAAIwe30JlM.git]
/
addon.c
diff --git
a/addon.c
b/addon.c
index 4ac9f91bc1443fc096b0e2d59329fe133051c3df..09cb43bce8271b20043442e0a3d0509e73a6ad70 100644
(file)
--- a/
addon.c
+++ b/
addon.c
@@
-109,8
+109,10
@@
static int addon_uid_to_alias( char uid[ADDON_UID_MAX], addon_alias *alias ){
if( !strcmp(location,"steam") )
alias->workshop_id = atoll( uid+12 );
if( !strcmp(location,"steam") )
alias->workshop_id = atoll( uid+12 );
- else if( !strcmp(location,"local") )
+ else if( !strcmp(location,"local") ){
+ alias->workshop_id = 0;
vg_strncpy( uid+12, alias->foldername, 64, k_strncpy_always_add_null );
vg_strncpy( uid+12, alias->foldername, 64, k_strncpy_always_add_null );
+ }
else
return 0;
else
return 0;