summaryrefslogtreecommitdiffhomepage
path: root/src/portalcolours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portalcolours.c')
-rw-r--r--src/portalcolours.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portalcolours.c b/src/portalcolours.c
index 33a6020..0eb3a30 100644
--- a/src/portalcolours.c
+++ b/src/portalcolours.c
@@ -155,6 +155,7 @@ INIT {
}
END {
+ if (!sst_userunloaded) return;
unhook_inline((void *)orig_UTIL_Portal_Color);
}