ResetCustomDataToDefault: Difference between revisions

m
Using -1 for the "player" parameter resets the data for all players.
m (remove accidental copypaste parameter)
Tag: Source edit
m (Using -1 for the "player" parameter resets the data for all players.)
Tag: Source edit
Line 10: Line 10:
===Parameters===
===Parameters===
* ''data'': The data field as defined in [[MAPINFO#GameInfo definition|the GameInfo definition]].
* ''data'': The data field as defined in [[MAPINFO#GameInfo definition|the GameInfo definition]].
* ''player'': The player number to reset the data for.
* ''player'': The player number to reset the data for. Use -1 to reset all players instead.


===Return value===
===Return value===