Merge pull request #319 from SimoneStarace/patch-2
Fixed the LuaCheckArgs in CclShowMapLocation
This commit is contained in:
commit
2eb5205563
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ static int CclShowMapLocation(lua_State *l)
|
|||
// Put a unit on map, use its properties, except for
|
||||
// what is listed below
|
||||
|
||||
LuaCheckArgs(l, 4);
|
||||
LuaCheckArgs(l, 5);
|
||||
const char *unitname = LuaToString(l, 5);
|
||||
CUnitType *unitType = UnitTypeByIdent(unitname);
|
||||
if (!unitType) {
|
||||
|
|
Loading…
Reference in a new issue