You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add shorthand for using singleton string names
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user