Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import version;
|
||||
|
||||
void init() {
|
||||
string ver = SCRIPT_VERSION;
|
||||
int pos = ver.findLast(" ");
|
||||
if(pos != -1)
|
||||
ver = ver.substr(pos+2);
|
||||
else if(ver.length != 0)
|
||||
ver = ver.substr(1);
|
||||
errorVersion = toUInt(ver);
|
||||
}
|
||||
Reference in New Issue
Block a user