mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
ResourceSet: resolve .at troubles
This commit is contained in:
@@ -137,7 +137,7 @@ int SetResourcesProxy::setAmount(lua_State * L)
|
||||
if(!S.tryGet(3, amount))
|
||||
return S.retVoid();
|
||||
|
||||
object->res.at(typeIdx) = amount;
|
||||
object->res[typeIdx] = amount;
|
||||
|
||||
return S.retVoid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user