Furter rework on script hooks, simplifying required logic.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace CreatureLib::Battling{
|
||||
return _scripts.size();
|
||||
}
|
||||
|
||||
std::unordered_map<std::string, Script *> * GetIterator(){
|
||||
const std::unordered_map<std::string, Script *> * GetIterator() const{
|
||||
return &_scripts;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user