File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public CompilerService(Extension extension)
7474 EnvironmentHelper . SetVariable ( "Path:Data" , Interface . Oxide . DataDirectory ) ;
7575 EnvironmentHelper . SetVariable ( "Path:Libraries" , Interface . Oxide . ExtensionDirectory ) ;
7676
77- if ( Interface . Oxide . Config . Compiler . Publicize )
77+ if ( Interface . Oxide . Config . Compiler . Publicize ?? false )
7878 {
7979 EnvironmentHelper . SetVariable ( "AllowPublicize" , "true" , force : true ) ;
8080 }
@@ -162,7 +162,7 @@ internal bool Precheck()
162162 preprocessorList . AddRange ( Interface . Oxide . Config . Compiler . PreprocessorDirectives ) ;
163163 }
164164
165- if ( Interface . Oxide . Config . Compiler . Publicize )
165+ if ( Interface . Oxide . Config . Compiler . Publicize ?? false )
166166 {
167167 EnvironmentHelper . SetVariable ( "AllowPublicize" , "true" , force : true ) ;
168168 preprocessorList . Add ( "OXIDE_PUBLICIZED" ) ;
You can’t perform that action at this time.
0 commit comments