Do not implicitly set extensions of script files.
This commit is contained in:
parent
fb028a899f
commit
efa151aa73
@ -1332,7 +1332,7 @@
|
|||||||
<distance>0.2</distance>
|
<distance>0.2</distance>
|
||||||
<isBiggerThan>true</isBiggerThan>
|
<isBiggerThan>true</isBiggerThan>
|
||||||
<objectNum>0</objectNum>
|
<objectNum>0</objectNum>
|
||||||
<luaScript>openFirstDoor</luaScript>
|
<luaScript>openFirstDoor.lua</luaScript>
|
||||||
<toChangeIdGreen>1</toChangeIdGreen>
|
<toChangeIdGreen>1</toChangeIdGreen>
|
||||||
<toChangeIdBlue>133</toChangeIdBlue>
|
<toChangeIdBlue>133</toChangeIdBlue>
|
||||||
<toChangeObjNum>0</toChangeObjNum>
|
<toChangeObjNum>0</toChangeObjNum>
|
||||||
@ -1347,7 +1347,7 @@
|
|||||||
<distance>0.2</distance>
|
<distance>0.2</distance>
|
||||||
<isBiggerThan>false</isBiggerThan>
|
<isBiggerThan>false</isBiggerThan>
|
||||||
<objectNum>0</objectNum>
|
<objectNum>0</objectNum>
|
||||||
<luaScript>openFirstDoorUndo</luaScript>
|
<luaScript>openFirstDoorUndo.lua</luaScript>
|
||||||
<toChangeIdGreen>1</toChangeIdGreen>
|
<toChangeIdGreen>1</toChangeIdGreen>
|
||||||
<toChangeIdBlue>133</toChangeIdBlue>
|
<toChangeIdBlue>133</toChangeIdBlue>
|
||||||
<toChangeObjNum>0</toChangeObjNum>
|
<toChangeObjNum>0</toChangeObjNum>
|
||||||
|
@ -5,7 +5,7 @@ Trigger::Trigger(glm::vec3 position, float distance, bool isBigger, Object* obje
|
|||||||
this->distance=distance;
|
this->distance=distance;
|
||||||
this->isBigger=isBigger;
|
this->isBigger=isBigger;
|
||||||
this->object=object;
|
this->object=object;
|
||||||
this->luaScript= scriptPath + luaScript + ".lua";
|
this->luaScript= scriptPath + luaScript;
|
||||||
this->L = L;
|
this->L = L;
|
||||||
if(L == nullptr){
|
if(L == nullptr){
|
||||||
printf("L is NULL in trigger!\n");
|
printf("L is NULL in trigger!\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user