aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/class
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/class')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut11
1 files changed, 6 insertions, 5 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut b/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
index 4eb97955..a340bc32 100644
--- a/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
+++ b/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
@@ -1,15 +1,16 @@
untyped
-global function CodeCallback_RegisterClass_C_HardPointEntity
+// note: had to rename all instances of C_HardPointEntity to CHardPointEntity here, unsure why this was even a thing?
+global function CodeCallback_RegisterClass_CHardPointEntity
-function CodeCallback_RegisterClass_C_HardPointEntity()
+function CodeCallback_RegisterClass_CHardPointEntity()
{
- /*C_HardPointEntity.ClassName <- "C_HardPointEntity"
+ CHardPointEntity.ClassName <- "CHardPointEntity"
- function C_HardPointEntity::Enabled()
+ function CHardPointEntity::Enabled()
{
return this.GetHardpointID() >= 0
}
- #document( "C_HardPointEntity::Enabled", "Returns true if this hardpoint is enabled" )*/
+ #document( "CHardPointEntity::Enabled", "Returns true if this hardpoint is enabled" )
}