diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2023-08-30 23:18:38 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-08-30 23:44:50 +0100 |
commit | 464c9398ae49d8faae46f81fb7040155408858f7 (patch) | |
tree | 3c8f035e752124a7f9f32179fa01d5c56c9d2439 /src/portalcolours.c | |
parent | 8a1c4de9b33128c10378f1938d8a60c071f01ad0 (diff) |
Perform very minor load/unload optimisations
Because why not.
Diffstat (limited to 'src/portalcolours.c')
-rw-r--r-- | src/portalcolours.c | 1 |
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); } |