MrOats / AngelScript_SC_Plugins

My Playground and hosted Angelscript server plugins for Sven Co-Op.
Mozilla Public License 2.0
7 stars 4 forks source link

Add a call to MapActivate() in PluginInit() #13

Closed incognico closed 6 years ago

incognico commented 6 years ago

Add a call to MapActivate() in PluginInit() so the plugin works when as_reloadplugin was used. Otherwise in the current state it will spam the log with null pointer messages etc.

incognico commented 6 years ago

Fix is here: https://github.com/incognico/svencoop_plugins/blob/master/scripts/plugins/RockTheVote.as