mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Implemented visit mode "limiter". Fixed h3m variable loading
This commit is contained in:
@ -102,7 +102,7 @@ int SetResourcesProxy::getAmount(lua_State * L)
|
||||
if(!S.tryGet(1, object))
|
||||
return S.retVoid();
|
||||
|
||||
auto type = EGameResID::INVALID;
|
||||
auto type = EGameResID::NONE;
|
||||
|
||||
if(!S.tryGet(2, type))
|
||||
return S.retVoid();
|
||||
@ -122,7 +122,7 @@ int SetResourcesProxy::setAmount(lua_State * L)
|
||||
if(!S.tryGet(1, object))
|
||||
return S.retVoid();
|
||||
|
||||
auto type = EGameResID::INVALID;
|
||||
auto type = EGameResID::NONE;
|
||||
|
||||
if(!S.tryGet(2, type))
|
||||
return S.retVoid();
|
||||
|
Reference in New Issue
Block a user