override

  1. Macadamia

    Lua : How to override global functions properly ?

    Hello there ! I am trying to override global functions, like those created by World Editor when saving the map script. I was hoping to use the context to modify them. I did a test with several of them, including "main", "config" or "InitBlizzard" : do local oldmain = main main =...
Top