1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

- VCMI will now read templates from mods

- Added partial schema for RMG template
This commit is contained in:
DjWarmonger
2015-05-26 18:19:41 +02:00
parent 4e25d74e74
commit 2e70d8a084
6 changed files with 80 additions and 2 deletions

View File

@ -115,12 +115,12 @@ void LibClasses::init()
createHandler(terviewh, "Terrain view pattern", pomtime);
createHandler(tplh, "Template", pomtime); //templates need already resolved identifiers (refactor?)
logGlobal->infoStream()<<"\tInitializing handlers: "<< totalTime.getDiff();
modh->load();
createHandler(tplh, "Template", pomtime); //templates need already resolved identifiers (refactor?)
modh->afterLoad();
//FIXME: make sure that everything is ok after game restart