Skip to content

Commit e369765

Browse files
authored
fix two links
1 parent 1d74b34 commit e369765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ EventListener<DragDropOnNodeFilter> m_listener = {
230230

231231
When our `DragDropNode` is destroyed, the EventListener is automatically destroyed and unregistered aswell, so you don't need to do anything else.
232232

233-
However, using a member function is not always possible. For example, if you're hooking a class, [event listeners don't work in fields](/tutorials/fields.md#note-about-addresses); or if you want to listen for events on an existing node whose class you don't control.
233+
However, using a member function is not always possible. For example, if you're hooking a class, [event listeners don't work in fields](/tutorials/fields/#note-about-addresses); or if you want to listen for events on an existing node whose class you don't control.
234234

235235
In these cases, there exists a Geode-specific helper called [`CCNode::addEventListener`](/classes/cocos2d/CCNode#addEventListener). You can use this to **add event listeners to any node** - including existing ones by GD!
236236

@@ -252,4 +252,4 @@ Any event listener added with `addEventListener` is automatically destroyed aswe
252252
253253
## Dispatched events
254254
255-
There also exist special types of events called **dispatch events** - these are intended for use within optional dependencies. See [the tutorial on dependencies](/mods/dependencies.md#events) for more information.
255+
There also exist special types of events called **dispatch events** - these are intended for use within optional dependencies. See [the tutorial on dependencies](/mods/dependencies/#events) for more information.

0 commit comments

Comments
 (0)