aboutsummaryrefslogtreecommitdiff
path: root/featureClass/featureManager.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-29 14:14:06 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-29 14:14:06 +0800
commitf3d0044dfe720e5e52d338ffc7f4efec7e780cb2 (patch)
tree4cecb863df5e703ca58cd943f3c54c0544b1498a /featureClass/featureManager.js
parentde27cdebfec9fafae6f686090039758d892196d7 (diff)
parent9ec9aa2d495df5a6c48b8edbd5fe31052d20b37b (diff)
downloadSoopyV2-f3d0044dfe720e5e52d338ffc7f4efec7e780cb2.tar.gz
SoopyV2-f3d0044dfe720e5e52d338ffc7f4efec7e780cb2.tar.bz2
SoopyV2-f3d0044dfe720e5e52d338ffc7f4efec7e780cb2.zip
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r--featureClass/featureManager.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js
index e27208f..991f549 100644
--- a/featureClass/featureManager.js
+++ b/featureClass/featureManager.js
@@ -439,13 +439,13 @@ class FeatureManager {
return this.customEvents[id]
}
- registerForge(event, func, context) {
+ registerForge(event, func, priority, context) {
let id = this.lastForgeEventId++
this.forgeEvents[id] = {
func: func,
context: context,
- trigger: registerForgeBase(event, (...args) => {
+ trigger: registerForgeBase(event, priority, (...args) => {
try {
if (context.enabled) {
if (this.recordingPerformanceUsage) this.startRecordingPerformance(context.constructor.name, event.class.name)