Skip to content

Commit

Permalink
优化VRM,增加宏文件带扩展名的兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
oiuv committed Sep 23, 2023
1 parent 2698beb commit 77c27e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inherit/vrm.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ void set_inherit_room(mixed rooms)
if (stringp(rooms))
{
// 此档案是否存在
if (file_size(sprintf("%s.c", rooms)) > 0)
if (file_size(lpc_file(rooms)) > 0)
inherit_rooms = ({rooms});
return;
}
Expand Down

0 comments on commit 77c27e8

Please sign in to comment.