Add shorthand for using singleton string names
This commit is contained in:
parent
916ea002c1
commit
a262d2d881
77 changed files with 382 additions and 380 deletions
|
|
@ -197,7 +197,7 @@ Error CallQueue::push_notification(ObjectID p_id, int p_notification) {
|
|||
Message *msg = memnew_placement(buffer_end, Message);
|
||||
|
||||
msg->type = TYPE_NOTIFICATION;
|
||||
msg->callable = Callable(p_id, CoreStringNames::get_singleton()->notification); //name is meaningless but callable needs it
|
||||
msg->callable = Callable(p_id, CoreStringName(notification)); //name is meaningless but callable needs it
|
||||
//msg->target;
|
||||
msg->notification = p_notification;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue