source:
data/branches/single_player_map/scripts/lua_extra_functions
@
3921
Last change on this file since 3921 was 3921, checked in by snellen, 18 years ago | |
---|---|
File size: 195 bytes |
Line | |
---|---|
1 | !--------------- Copy this to the beginning of a lua script to use the functions ---------------! |
2 | |
3 | |
4 | function randInit() |
5 | |
6 | if not randinit then |
7 | math.randomseed(os.clock()) |
8 | randinit = true |
9 | end |
10 | |
11 | end |
Note: See TracBrowser
for help on using the repository browser.