Skip to content

bug: Modules include managements #35

@Rushaway

Description

@Rushaway

If you comment any modules in Core/ModesInclude.sp you can have an error in compilation
Ex: comment // #include "../MathGame.sp" will throw:

FunModes2/addons/sourcemod/scripting/FunModes.sp(44) : error 017: undefined symbol "OnPluginStart_MathGame"
    44 |         DECLARE_FM_FORWARD(OnPluginStart);
-----------------^

FunModes2/addons/sourcemod/scripting/FunModes.sp(46) : error 017: undefined symbol "InitCvarsValues_MathGame"
    46 |         DECLARE_FM_FORWARD(InitCvarsValues);
-----------------^

FunModes2/addons/sourcemod/scripting/FunModes.sp(109) : error 017: undefined symbol "OnMapStart_MathGame"
   109 |         DECLARE_FM_FORWARD(OnMapStart);
-----------------^

FunModes2/addons/sourcemod/scripting/FunModes.sp(114) : error 017: undefined symbol "OnMapEnd_MathGame"
   114 |         DECLARE_FM_FORWARD(OnMapEnd);
-----------------^

FunModes2/addons/sourcemod/scripting/FunModes.sp(141) : error 017: undefined symbol "Event_RoundStart_MathGame"
   141 |         DECLARE_FM_FORWARD(Event_RoundStart);
-----------------^

FunModes2/addons/sourcemod/scripting/FunModes.sp(148) : error 017: undefined symbol "Event_RoundEnd_MathGame"
   148 |         DECLARE_FM_FORWARD(Event_RoundEnd);
-----------------^

6 Errors.

@Dolly132

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions