summaryrefslogtreecommitdiffhomepage
path: root/src/engineapi.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-12-26 14:29:53 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2023-01-15 15:17:51 +0000
commita4afb6714f67c029310c0853ff47fdef354e2e72 (patch)
tree918a490474ad71d5b6ac817d409bae5e8ab990d5 /src/engineapi.h
parentf28cd3c70fc75114413ce0719e298f30cec407fa (diff)
Fix deferred init for Portal 2 compatibility
Thanks Bill for figuring out what the problem was.
Diffstat (limited to 'src/engineapi.h')
-rw-r--r--src/engineapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engineapi.h b/src/engineapi.h
index 6394ec2..05f47ea 100644
--- a/src/engineapi.h
+++ b/src/engineapi.h
@@ -124,7 +124,7 @@ struct ServerClass {
extern struct VEngineClient *engclient;
extern struct VEngineServer *engserver;
extern void *globalvars;
-extern void *inputsystem;
+extern void *inputsystem, *vgui;
/*
* Called on plugin init to attempt to initialise various core interfaces.