Skip to content

Commit

Permalink
Update UOXJSMethods.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 25, 2025
1 parent ac4273f commit 826f632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/UOXJSMethods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7955,7 +7955,7 @@ JSBool CBase_SetRandomName( JSContext *cx, JSObject *obj, uintN argc, jsval *arg
return JS_FALSE;
}

CBaseObject *mObj = static_cast<CBaseObject *>( JS_GetPrivate( cx, obj ));
CBaseObject *mObj = static_cast<CBaseObject *>( JS_GetPrivate( cx, obj ));
std::string namelist = JS_GetStringBytes( JS_ValueToString( cx, argv[0] ));

if( !namelist.empty() )
Expand Down

0 comments on commit 826f632

Please sign in to comment.